kios-webapp/.github/workflows/payload.yml
Max Schmidt 9053de8f4b
fdsaf (#11)
* test

Signed-off-by: Max Schmidt <max.schmidt@outlook.de>

* fas

Signed-off-by: Max Schmidt <max.schmidt@outlook.de>

* test

Signed-off-by: Max Schmidt <max.schmidt@outlook.de>

---------

Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-05-17 16:29:24 +02:00

19 lines
426 B
YAML

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