Add apply configuration step to deploy workflow for wizard
This commit is contained in:
parent
c5ee64c9df
commit
0bc0f51b0d
@ -26,3 +26,12 @@ jobs:
|
|||||||
key: ${{ secrets.SSH_KEY_DEPLOY_TO_WIZARD }}
|
key: ${{ secrets.SSH_KEY_DEPLOY_TO_WIZARD }}
|
||||||
script: |
|
script: |
|
||||||
chmod +x ~/homelab/wizard/config/*.sh
|
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
|
Loading…
Reference in New Issue
Block a user