Comment out secrets from deploy, interpolate for rotated pic

This commit is contained in:
Guntis Smaukstelis
2025-02-18 20:43:01 +02:00
parent 29ef46f4c7
commit ea776991cc
2 changed files with 20 additions and 13 deletions
+10 -10
View File
@@ -5,16 +5,16 @@ cd web
npm run build
cd ..
# Check and set secrets
if [ -s .env-fly ]; then
while read line; do
echo "Setting secrets: $line"
fly secrets set "$line"
done < .env-fly
else
echo ".env-fly file is missing or empty, skipping setting secrets"
exit 1
fi
# Check and set secrets (needed only when secrets change
#if [ -s .env-fly ]; then
# while read line; do
# echo "Setting secrets: $line"
# fly secrets set "$line"
# done < .env-fly
#else
# echo ".env-fly file is missing or empty, skipping setting secrets"
# exit 1
#fi
# Test, build and deply
if sbt test; then