Refactor deployment scripts in pipeline-test.yaml.
Some checks failed
Build and Deploy Hugo Site / build_and_deploy (push) Failing after 1m29s

This commit is contained in:
Andreas Hnida 2024-04-17 23:36:28 +02:00
commit 185daa557d

View file

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