Fix rsync paths in workflow for deployment to Development and Production environments.
All checks were successful
Build and Deploy Hugo Site / build_and_deploy (push) Successful in 1m42s
All checks were successful
Build and Deploy Hugo Site / build_and_deploy (push) Successful in 1m42s
This commit is contained in:
parent
4f0a8ae06f
commit
46286d4a81
1 changed files with 2 additions and 2 deletions
|
|
@ -70,13 +70,13 @@ jobs:
|
|||
- name: Deploy to Development
|
||||
if: env.myEnv_env == 'development'
|
||||
run: |
|
||||
rsync -avz --delete /public/ verua.info@verua.info:/preview.verua.info/
|
||||
rsync -avz --delete ./public/ verua.info@verua.info:/preview.verua.info/
|
||||
env:
|
||||
RSYNC_RSH: 'ssh -p 2121 -o StrictHostKeyChecking=no'
|
||||
|
||||
- name: Deploy to Production
|
||||
if: env.myEnv_env == 'production'
|
||||
run: |
|
||||
rsync -avz --delete /public/ verua.info@verua.info:/httpdocs/
|
||||
rsync -avz --delete ./public/ verua.info@verua.info:/httpdocs/
|
||||
env:
|
||||
RSYNC_RSH: 'ssh -p 2121 -o StrictHostKeyChecking=no'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue