Add permissions fix step to deploy pipeline

This commit is contained in:
Joey Hafner 2024-02-14 11:19:00 -08:00
parent 5f4d405c23
commit 62f9e6032c

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