forked from ari/ari-express
Try to set file perms inside the action
This commit is contained in:
parent
51a2a97b51
commit
e87bb3ec77
1 changed files with 3 additions and 0 deletions
|
@ -41,3 +41,6 @@ jobs:
|
|||
- name: Deploy via SCP
|
||||
run: |
|
||||
scp -i ~/.ssh/id_ed25519 -rv ./_site/* ${{ vars.SERVER_USER }}@\[${{ vars.SERVER_HOST }}\]:/home/common/www/ariexpress/${{ github.ref_name }}
|
||||
- name: Set permissions on the deployed files
|
||||
run: |
|
||||
ssh -i ~/.ssh/id_ed25519 ${{ vars.SERVER_USER }}@${{ vars.SERVER_HOST }} "chmod -R 755 /home/common/www/ariexpress/${{ github.ref_name }}"
|
Loading…
Add table
Add a link
Reference in a new issue