forked from mtusi2026/mtusi2026lab4
fix: switch API pools atomically
This commit is contained in:
@@ -180,7 +180,7 @@ jobs:
|
||||
git cat-file -e '$DEPLOY_SHA^{commit}'
|
||||
git reset --hard '$DEPLOY_SHA'
|
||||
manifest='/tmp/mtusi2026lab4-${{ github.run_id }}.env'
|
||||
if scripts/rolling-update.sh \"\$manifest\"; then
|
||||
if DEPLOY_GENERATION='${{ github.run_id }}' scripts/rolling-update.sh \"\$manifest\"; then
|
||||
rm -f \"\$manifest\"
|
||||
else
|
||||
status=\$?
|
||||
|
||||
Reference in New Issue
Block a user