update CI

This commit is contained in:
Adora Laura Kalb 2023-06-14 11:13:44 +02:00
parent ebd24b77af
commit c2b25125a6
Signed by: adoralaura
GPG key ID: 7A4552166FC8C056

View file

@ -27,7 +27,7 @@ steps:
- chmod 0600 $HOME/.ssh/id_ed25519
- ssh-keyscan -t ed25519 $TARGET_SERVER >> $HOME/.ssh/known_hosts
- cd public/
- rsync -avh --checksum --delete ./ $TARGET_USER@$TARGET_SERVER:$TARGET_PATH
- rsync -avh -I --delete ./ $TARGET_USER@$TARGET_SERVER:$TARGET_PATH
deploy-prod:
@ -48,4 +48,4 @@ steps:
- chmod 0600 $HOME/.ssh/id_ed25519
- ssh-keyscan -t ed25519 $TARGET_SERVER >> $HOME/.ssh/known_hosts
- cd public/
- rsync -avh --checksum --delete ./ $TARGET_USER@$TARGET_SERVER:$TARGET_PATH
- rsync -avh -I --delete ./ $TARGET_USER@$TARGET_SERVER:$TARGET_PATH