change rsync port command
All checks were successful
ci/woodpecker/push/deploy-rsync Pipeline was successful
ci/woodpecker/push/deploy-cloudflare Pipeline was successful

This commit is contained in:
Adora Laura Kalb 2024-07-12 12:52:10 +02:00
parent 422f7436f6
commit cb2ea1edde
Signed by: adoralaura
SSH key fingerprint: SHA256:3XrkbR8ikAZJVtYfaUliX1MhmJYVAe/ocIb/MiDHBJ8

View file

@ -29,4 +29,4 @@ steps:
- echo "$RSYNC_SSHKEY" > $HOME/.ssh/id_ed25519
- chmod 0600 $HOME/.ssh/id_ed25519
- ssh-keyscan -t ed25519 -p $RSYNC_TARGET_PORT $RSYNC_TARGET_SERVER >> $HOME/.ssh/known_hosts
- rsync -avh --port=$RSYNC_TARGET_PORT --delete ./public/ $RSYNC_TARGET_USER@$RSYNC_TARGET_SERVER:$TARGET_PATH
- rsync -avh -e "ssh -p $RSYNC_TARGET_PORT" --delete ./public/ $RSYNC_TARGET_USER@$RSYNC_TARGET_SERVER:$TARGET_PATH