1
0
Fork 0
forked from ari/ari-express

Try to set file perms inside the action

This commit is contained in:
Ariadna 2025-05-11 03:00:58 -04:00
parent 51a2a97b51
commit e87bb3ec77
Signed by: ari
SSH key fingerprint: SHA256:j4xpQafvRcIH4rwZqM5aREIogWsCjyYohia7vH0+uZY

View file

@ -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 }}"