diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 363fada..a927c70 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -16,4 +16,12 @@ jobs: - 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 + - run: echo "This job's status is ${{ job.status }}." + - name: executing remote ssh commands using ssh key + uses: appleboy/ssh-action@v1.0.3 + with: + host: ${{ secrets.HOST }} + username: ${{ secrets.USERNAME }} + key: ${{ secrets.KEY }} + port: ${{ secrets.PORT }} + script: whoami \ No newline at end of file