new try with CI

This commit is contained in:
Adora Laura Kalb 2023-06-14 11:18:21 +02:00
parent c2b25125a6
commit c1f5fc02aa
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 -I --delete ./ $TARGET_USER@$TARGET_SERVER:$TARGET_PATH
- rsync -avh -W --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 -I --delete ./ $TARGET_USER@$TARGET_SERVER:$TARGET_PATH
- rsync -avh -W --delete ./ $TARGET_USER@$TARGET_SERVER:$TARGET_PATH