Update .forgejo/workflows/deploy.yaml

Signed-off-by: xengi <cccb-git@xengi.de>
This commit is contained in:
XenGi 2026-08-11 23:21:32 +02:00
commit b1ff3727c8

View file

@ -49,7 +49,8 @@ jobs:
cat ~/.ssh/id_ed25519.pub cat ~/.ssh/id_ed25519.pub
- name: Rsync rendered site - name: Rsync rendered site
run: rsync -var --delete -e 'ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=yes' ./public/ deploy@www.berlin.ccc.de:${{ env.GIT_BRANCH == 'production' && '/srv/http/www/' || '/srv/http/www-staging/' }} # TODO: add --delete
run: rsync -var -e 'ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=yes' ./public/ deploy@www.berlin.ccc.de:${{ env.GIT_BRANCH == 'production' && '/srv/http/www/' || '/srv/http/www-staging/' }}
- name: Cleanup - name: Cleanup
if: ${{ always() }} if: ${{ always() }}