From 0bc0f51b0d4b49c08128ac806d281f72947c38a3 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Wed, 14 Feb 2024 11:22:15 -0800 Subject: [PATCH] Add apply configuration step to deploy workflow for wizard --- .gitea/workflows/deploy-to-wizard.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitea/workflows/deploy-to-wizard.yml b/.gitea/workflows/deploy-to-wizard.yml index 6d96352..544ef7c 100644 --- a/.gitea/workflows/deploy-to-wizard.yml +++ b/.gitea/workflows/deploy-to-wizard.yml @@ -26,3 +26,12 @@ jobs: key: ${{ secrets.SSH_KEY_DEPLOY_TO_WIZARD }} script: | chmod +x ~/homelab/wizard/config/*.sh + - name: Apply configuration + 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: | + cd ~/homelab/wizard/config + /bin/vbash configure.sh \ No newline at end of file