Add permissions fix step to deploy pipeline

This commit is contained in:
Joey Hafner 2024-02-14 11:19:00 -08:00
parent 20499ead13
commit 9aeddbd36d

View File

@ -18,3 +18,11 @@ jobs:
script: |
cd ~/homelab
git pull
- name: Fix script permissions
uses: appleboy/ssh-action@master
with:
host: ${{ vars.SSH_HOST_IP_WIZARD }} # this is a LAN IP
username: ${{ vars.SSH_USERNAME_WIZARD }}
key: ${{ secrets.SSH_KEY_DEPLOY_TO_WIZARD }}
script: |
chmod +x ~/homelab/wizard/config/*.sh