a yet another directory change
All checks were successful
Deploy to Web Server / deploy (push) Successful in 40s
All checks were successful
Deploy to Web Server / deploy (push) Successful in 40s
This commit is contained in:
parent
e87bb3ec77
commit
5a474d7f19
1 changed files with 3 additions and 3 deletions
|
@ -36,11 +36,11 @@ jobs:
|
||||||
deno task build
|
deno task build
|
||||||
- name: create folder if not exists
|
- name: create folder if not exists
|
||||||
run: |
|
run: |
|
||||||
ssh -i ~/.ssh/id_ed25519 ${{ vars.SERVER_USER }}@${{ vars.SERVER_HOST }} "mkdir -p /home/common/www/ariexpress/${{ github.ref_name }}"
|
ssh -i ~/.ssh/id_ed25519 ${{ vars.SERVER_USER }}@${{ vars.SERVER_HOST }} "mkdir -p /var/www/ariexpress/"
|
||||||
|
|
||||||
- name: Deploy via SCP
|
- name: Deploy via SCP
|
||||||
run: |
|
run: |
|
||||||
scp -i ~/.ssh/id_ed25519 -rv ./_site/* ${{ vars.SERVER_USER }}@\[${{ vars.SERVER_HOST }}\]:/home/common/www/ariexpress/${{ github.ref_name }}
|
scp -i ~/.ssh/id_ed25519 -rv ./_site/* ${{ vars.SERVER_USER }}@\[${{ vars.SERVER_HOST }}\]:/var/www/ariexpress/
|
||||||
- name: Set permissions on the deployed files
|
- name: Set permissions on the deployed files
|
||||||
run: |
|
run: |
|
||||||
ssh -i ~/.ssh/id_ed25519 ${{ vars.SERVER_USER }}@${{ vars.SERVER_HOST }} "chmod -R 755 /home/common/www/ariexpress/${{ github.ref_name }}"
|
ssh -i ~/.ssh/id_ed25519 ${{ vars.SERVER_USER }}@${{ vars.SERVER_HOST }} "chmod -R 755 /var/www/ariexpress/*"
|
Loading…
Add table
Add a link
Reference in a new issue