From 467277c023cdd8d575ae3fab26da72e342ed99b2 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 --- homelab/.gitea/workflows/deploy-to-wizard.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/homelab/.gitea/workflows/deploy-to-wizard.yml b/homelab/.gitea/workflows/deploy-to-wizard.yml index 6d96352f..544ef7c7 100644 --- a/homelab/.gitea/workflows/deploy-to-wizard.yml +++ b/homelab/.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