try deploy vm
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user