Trigger build via ssh and list files

This commit is contained in:
Max Schmidt 2023-05-13 17:49:41 +02:00
parent 52c351f1f6
commit 01a286d0b6

View File

@ -9,14 +9,11 @@ jobs:
name: Run remote SSH command name: Run remote SSH command
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Trigger build via ssh
uses: actions/checkout@v2
- name: Execute remote SSH commands
uses: appleboy/ssh-action@master uses: appleboy/ssh-action@master
with: with:
host: ${{ secrets.HOST }} host: ${{ secrets.HOST }}
username: ${{ secrets.USER }} username: ${{ secrets.USER }}
key: ${{ secrets.KEY }} key: ${{ secrets.KEY }}
script: | script: |
mkdir hallo ls