Comment out secrets from deploy, interpolate for rotated pic
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user