Add apply configuration step to deploy workflow for wizard

This commit is contained in:
Joey Hafner 2024-02-14 11:22:15 -08:00
parent c5ee64c9df
commit 0bc0f51b0d

View File

@ -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