diff --git a/.gitea/workflows/proxmox-tf.yaml b/.gitea/workflows/proxmox-tf.yaml index 6e2f664..9b664d5 100644 --- a/.gitea/workflows/proxmox-tf.yaml +++ b/.gitea/workflows/proxmox-tf.yaml @@ -14,18 +14,21 @@ on: - debug jobs: - Explore-Gitea-Actions: + deploy: runs-on: ubuntu-latest + steps: - - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - - name: Check out repository code - uses: actions/checkout@v4 - - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - - run: echo "🖥️ The workflow is now ready to test your code on the runner." - - name: List files in the repository - run: | - ls ${{ gitea.workspace }} - - run: echo "🍏 This job's status is ${{ job.status }}." - \ No newline at end of file + + - name: Configure SSH + uses: webfactory/ssh-agent@v0.9.0 + with: + ssh-private-key: ${{ secrets.DEPLOY_KEY }} + + - name: executing remote ssh commands using password + uses: appleboy/ssh-action@v1.2.0 + with: + host: 192.168.11.205 + username: xchose + password: genius + port: 22 + script: whoami \ No newline at end of file