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

21 lines
448 B
YAML
Raw Normal View History

name: Trigger Astro build on server
2023-05-13 14:55:41 +00:00
on:
push:
branches:
- main
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