From 9ecbeaae1fc788011bcb637b74ea71007146847c Mon Sep 17 00:00:00 2001 From: "martin.cholewa" Date: Fri, 26 Sep 2025 08:47:57 +0200 Subject: [PATCH] 140 vm --- ...y_VM.yaml => 140_DELETE_cloudINIT140.yaml} | 0 .../140_DEPLOY_cloudINIT140 copy.yaml | 33 +++++++++++++++++++ 2 files changed, 33 insertions(+) rename .gitea/workflows/{01_deploy_VM.yaml => 140_DELETE_cloudINIT140.yaml} (100%) create mode 100644 .gitea/workflows/140_DEPLOY_cloudINIT140 copy.yaml 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