kios-webapp/.github/workflows/payload.yml

18 lines
413 B
YAML
Raw Normal View History

name: Trigger Astro build on server
2023-05-13 14:55:41 +00:00
on:
repository_dispatch:
types: [payload_update]
2023-05-13 14:55:41 +00:00
jobs:
build:
name: Run remote SSH command
2023-05-13 14:55:41 +00:00
runs-on: ubuntu-latest
steps:
2023-05-13 15:49:41 +00:00
- name: Trigger build via ssh
uses: appleboy/ssh-action@master
2023-05-13 14:55:41 +00:00
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
key: ${{ secrets.KEY }}
script: |
2023-05-13 15:49:41 +00:00
ls