diff --git a/.gitea/workflows/01_deploy_VM.yaml b/.gitea/workflows/140_DELETE_cloudINIT140.yaml similarity index 100% rename from .gitea/workflows/01_deploy_VM.yaml rename to .gitea/workflows/140_DELETE_cloudINIT140.yaml diff --git a/.gitea/workflows/140_DEPLOY_cloudINIT140 copy.yaml b/.gitea/workflows/140_DEPLOY_cloudINIT140 copy.yaml new file mode 100644 index 0000000..ea5f5df --- /dev/null +++ b/.gitea/workflows/140_DEPLOY_cloudINIT140 copy.yaml @@ -0,0 +1,33 @@ +name: Create VM at proxmox + +on: + workflow_dispatch: + inputs: + logLevel: + description: 'Log level' + required: true + default: 'warning' + type: choice + options: + - info + - warning + - debug + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + + - name: Deploying VM to Proxmox + uses: appleboy/ssh-action@v1.2.0 + with: + host: 192.168.11.102 + username: root + password: ${{ secrets.PASSWORD }} + port: 22 + script: | + pveversion + qm stop 140 + qm destroy 140 + \ No newline at end of file