modify workflow to use alternative directory
Some checks failed
pipeline / deploy-job (push) Failing after 31s
Some checks failed
pipeline / deploy-job (push) Failing after 31s
This commit is contained in:
parent
6686666e01
commit
56dd94d2c7
@ -38,12 +38,12 @@ jobs:
|
|||||||
|
|
||||||
- name: delete new files so we don't screw up stuff
|
- name: delete new files so we don't screw up stuff
|
||||||
run: |
|
run: |
|
||||||
ssh -i ~/.ssh/id_rsa -p 69 gitlab@107.189.28.28 "rm -rf /var/www/fzorb.xyz/*"
|
ssh -i ~/.ssh/id_rsa -p 69 gitlab@107.189.28.28 "rm -rf /srv/swag/config/www/fzorb.xyz/*"
|
||||||
|
|
||||||
- name: upload new files
|
- name: upload new files
|
||||||
run: |
|
run: |
|
||||||
rsync -avzh website/public/ -e "ssh -i ~/.ssh/id_rsa -p 69" gitlab@107.189.28.28:/var/www/fzorb.xyz
|
rsync -avzh website/public/ -e "ssh -i ~/.ssh/id_rsa -p 69" gitlab@107.189.28.28:/srv/swag/config/www/fzorb.xyz
|
||||||
|
|
||||||
- name: fix perms
|
- name: fix perms
|
||||||
run: |
|
run: |
|
||||||
ssh -i ~/.ssh/id_rsa -p 69 gitlab@107.189.28.28 "chmod 755 -R /var/www/fzorb.xyz"
|
ssh -i ~/.ssh/id_rsa -p 69 gitlab@107.189.28.28 "chmod 755 -R /srv/swag/config/www/fzorb.xyz"
|
||||||
|
Loading…
Reference in New Issue
Block a user