diff --git a/applyset-deploy.sh b/applyset-deploy.sh index 81bc8dc..e7d4e5b 100644 --- a/applyset-deploy.sh +++ b/applyset-deploy.sh @@ -3,9 +3,10 @@ set -euo pipefail first_server="${SERVERS%% *}" -previous_manifest=$(ssh -T "root@$first_server" << EOF -if [[ -f "$GCROOTDIR/${NAME}.yml" ]]; then - cat "$GCROOTDIR/${NAME}.yml" +previous_manifest=$( + envsubst <