mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-04-28 11:30:15 +00:00
fix: clean up stale files before deploy
This commit is contained in:
parent
bfe621eeb9
commit
3114775aa9
1 changed files with 3 additions and 0 deletions
3
.github/workflows/deploy-demo-server.yml
vendored
3
.github/workflows/deploy-demo-server.yml
vendored
|
|
@ -66,6 +66,9 @@ jobs:
|
|||
DEPLOY_HOST: ${{ secrets.DEMO_SERVER_HOST }}
|
||||
DEPLOY_USER: ${{ secrets.DEMO_SERVER_USER }}
|
||||
run: |
|
||||
# Clean up any stale files from previous runs
|
||||
ssh -o StrictHostKeyChecking=no ${DEPLOY_USER}@${DEPLOY_HOST} "rm -f /tmp/pulse-new; rm -rf /tmp/pulse-demo-test" || true
|
||||
|
||||
# Upload new binary
|
||||
scp -o StrictHostKeyChecking=no pulse ${DEPLOY_USER}@${DEPLOY_HOST}:/tmp/pulse-new
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue