ci: use new SSH key for deployments

This commit is contained in:
Simon Ser 2024-10-11 00:25:02 +02:00
parent c6e63d5724
commit 4145907d36

View file

@ -5,7 +5,7 @@ packages:
sources: sources:
- https://git.sr.ht/~emersion/gamja - https://git.sr.ht/~emersion/gamja
secrets: secrets:
- 77c7956b-003e-44f7-bb5c-2944b2047654 # deploy SSH key - 7a146c8e-aeb4-46e7-99bf-05af7486bbe9 # deploy SSH key
tasks: tasks:
- setup: | - setup: |
cd gamja cd gamja
@ -21,4 +21,4 @@ tasks:
[ "$(git rev-parse HEAD)" = "$(git rev-parse origin/master)" ] || complete-build [ "$(git rev-parse HEAD)" = "$(git rev-parse origin/master)" ] || complete-build
rsync --rsh="ssh -o StrictHostKeyChecking=no" -rP \ rsync --rsh="ssh -o StrictHostKeyChecking=no" -rP \
--delete --exclude=config.json \ --delete --exclude=config.json \
. deploy@sheeta.emersion.fr:/srv/http/gamja . deploy-gamja@sheeta.emersion.fr:/srv/http/gamja