try deploy vm

This commit is contained in:
martin.cholewa
2025-09-26 08:32:31 +02:00
parent 26532951bb
commit af0f7ca4a8

View File

@@ -19,7 +19,17 @@ jobs:
steps:
- name: executing remote ssh commands using password
- name: upload script to Proxmox
uses: appleboy/scp-action@master
with:
host: 192.168.11.102
username: root
password: ${{ secrets.PASSWORD }}
port: 22
source: './scripts/create_cloud_VM_140.sh'
target: '/root/scripts/'
- name: executing remote bash script
uses: appleboy/ssh-action@v1.2.0
with:
host: 192.168.11.102
@@ -27,5 +37,4 @@ jobs:
password: ${{ secrets.PASSWORD }}
port: 22
script: |
bash ~/scripts/create_cloud_VM_140.sh
bash /root/scripts/create_cloud_VM_140.sh