diff --git a/homelab/.gitea/workflows/deploy-to-wizard.yml b/homelab/.gitea/workflows/deploy-to-wizard.yml index e2e41fbf..6d96352f 100644 --- a/homelab/.gitea/workflows/deploy-to-wizard.yml +++ b/homelab/.gitea/workflows/deploy-to-wizard.yml @@ -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