mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-07 09:01:13 -05:00
fix(GHA): cleanup trap in API deploy (#65959)
This commit is contained in:
committed by
GitHub
parent
43ba115506
commit
941e965e8b
1
.github/workflows/deploy-api.yml
vendored
1
.github/workflows/deploy-api.yml
vendored
@@ -192,6 +192,7 @@ jobs:
|
||||
run: |
|
||||
REMOTE_SCRIPT="
|
||||
set -e
|
||||
trap 'rm -f .env age.key secrets.age.asc .env.tmp' EXIT
|
||||
echo -e '\nLOG:Deploying API to $TS_MACHINE_NAME...'
|
||||
cd /home/$TS_USERNAME/docker-swarm-config/stacks/api
|
||||
|
||||
|
||||
Reference in New Issue
Block a user