Haily mary sleep attempt?
Some checks failed
Deploy to Web Server / deploy (push) Failing after 3m44s
Some checks failed
Deploy to Web Server / deploy (push) Failing after 3m44s
This commit is contained in:
parent
59a25e79d6
commit
ce488850ef
1 changed files with 4 additions and 4 deletions
|
@ -43,16 +43,16 @@ jobs:
|
||||||
|
|
||||||
- name: Clear old backup
|
- name: Clear old backup
|
||||||
run: |
|
run: |
|
||||||
ssh -i ~/.ssh/aria-coffee-deploy ${{ vars.SERVER_USER }}@${{ vars.SERVER_HOST }} "[ -d "/var/www/Aria/dist-old" ] && rm -r /var/www/Aria/dist-old"
|
sleep 5s; ssh -i ~/.ssh/aria-coffee-deploy ${{ vars.SERVER_USER }}@${{ vars.SERVER_HOST }} "[ -d "/var/www/Aria/dist-old" ] && rm -r /var/www/Aria/dist-old"
|
||||||
|
|
||||||
- name: Backup current install
|
- name: Backup current install
|
||||||
run: |
|
run: |
|
||||||
ssh -i ~/.ssh/aria-coffee-deploy ${{ vars.SERVER_USER }}@${{ vars.SERVER_HOST }} "[ -d "/var/www/Aria/dist" ] && mv /var/www/Aria/dist /var/www/Aria/dist-old"
|
sleep 5s; ssh -i ~/.ssh/aria-coffee-deploy ${{ vars.SERVER_USER }}@${{ vars.SERVER_HOST }} "[ -d "/var/www/Aria/dist" ] && mv /var/www/Aria/dist /var/www/Aria/dist-old"
|
||||||
|
|
||||||
- name: Copy over new build-action
|
- name: Copy over new build-action
|
||||||
run: |
|
run: |
|
||||||
scp -i ~/.ssh/aria-coffee-deploy -rv ./dist ${{ vars.SERVER_USER }}@${{ vars.SERVER_HOST }}:/var/www/Aria
|
sleep 5s; scp -i ~/.ssh/aria-coffee-deploy -rv ./dist ${{ vars.SERVER_USER }}@${{ vars.SERVER_HOST }}:/var/www/Aria
|
||||||
|
|
||||||
- name: Set permissions on the deployed files
|
- name: Set permissions on the deployed files
|
||||||
run: |
|
run: |
|
||||||
ssh -i ~/.ssh/aria-coffee-deploy ${{ vars.SERVER_USER }}@${{ vars.SERVER_HOST }} "chmod -R 755 /var/www/Aria/dist"
|
sleep 5s; ssh -i ~/.ssh/aria-coffee-deploy ${{ vars.SERVER_USER }}@${{ vars.SERVER_HOST }} "chmod -R 755 /var/www/Aria/dist"
|
Loading…
Add table
Add a link
Reference in a new issue