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

19 lines
426 B
YAML
Raw Normal View History

name: Payload update
2023-05-13 14:55:41 +00:00
on:
repository_dispatch:
types: [payload_update]
2023-05-13 14:55:41 +00:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Trigger build
uses: appleboy/ssh-action@master
2023-05-13 14:55:41 +00:00
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
key: ${{ secrets.KEY }}
script: |
cd ${{ secrets.PATH }}
git pull
yarn prod astro