Update SSH port for rsync deployment to use port 2121.
Some checks reported warnings
Build and Deploy Hugo Site / build_and_deploy (push) Has been cancelled

This commit is contained in:
Andreas Hnida 2024-04-17 23:48:07 +02:00
commit 72fc0af913

View file

@ -72,11 +72,11 @@ jobs:
run: |
rsync -avz --delete ./ verua.info@verua.info:/preview.verua.info/
env:
RSYNC_RSH: 'ssh -o StrictHostKeyChecking=no'
RSYNC_RSH: 'ssh -p 2121 -o StrictHostKeyChecking=no'
- name: Deploy to Production
if: env.myEnv_env == 'production'
run: |
rsync -avz --delete ./ verua.info@verua.info:/httpdocs/
env:
RSYNC_RSH: 'ssh -o StrictHostKeyChecking=no'
RSYNC_RSH: 'ssh -p 2121 -o StrictHostKeyChecking=no'