Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
Max Schmidt
2023-05-17 09:18:08 +02:00
parent a4ed5449e9
commit 7f01d39909
20 changed files with 133 additions and 37 deletions

20
.github/workflows/payload.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Trigger Astro build on server
on:
push:
branches:
- main
repository_dispatch:
types: [payload_update]
jobs:
build:
name: Run remote SSH command
runs-on: ubuntu-latest
steps:
- name: Trigger build via ssh
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
key: ${{ secrets.KEY }}
script: |
ls