ssh test
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 27s

This commit is contained in:
Martin Cholewa 2025-01-29 14:26:48 +01:00
parent ed5aa47ba4
commit 080e9c757a

View File

@ -14,18 +14,21 @@ on:
- debug - debug
jobs: jobs:
Explore-Gitea-Actions: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: 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!" - name: Configure SSH
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." uses: webfactory/ssh-agent@v0.9.0
- name: Check out repository code with:
uses: actions/checkout@v4 ssh-private-key: ${{ secrets.DEPLOY_KEY }}
- 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: executing remote ssh commands using password
- name: List files in the repository uses: appleboy/ssh-action@v1.2.0
run: | with:
ls ${{ gitea.workspace }} host: 192.168.11.205
- run: echo "🍏 This job's status is ${{ job.status }}." username: xchose
password: genius
port: 22
script: whoami