From 62f9e6032cd6a7aaf45bdae9d8fc27824226b53d Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Wed, 14 Feb 2024 11:19:00 -0800 Subject: [PATCH] Add permissions fix step to deploy pipeline --- homelab/.gitea/workflows/deploy-to-wizard.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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