Update .forgejo/workflows/deploy.yaml
All checks were successful
deploy blog / deploy (push) Successful in 54s

This commit is contained in:
XenGi 2026-02-15 19:32:40 +01:00
parent 4d20090853
commit c2cbeec0e5

View file

@ -45,7 +45,7 @@ jobs:
- name: Sync rendered site to staging
env:
DEPLOY_DIR: ${{ forgejo.ref_name == 'production' && '/srv/http/www/' || '/srv/http/www-staging/' }}
run: rsync -var -e 'ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=no' ./public/ deploy@www.berlin.ccc.de:$DEPLOY_DIR
run: rsync -var -e 'ssh -i ~/.ssh/id_ed25519' ./public/ deploy@www.berlin.ccc.de:$DEPLOY_DIR
- name: Cleanup
if: ${{ always() }}