Merge pull request #800 from Consolatis/ci/web_deploy

CI: automatically rebuild labwc.github.io
This commit is contained in:
Johan Malm 2023-03-18 21:20:50 +00:00 committed by GitHub
commit 50a6c78db0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
.github/workflows/labwc.github.io.yml vendored Normal file
View file

@ -0,0 +1,24 @@
# Triggers a rebuild and deploy of labwc.github.io when man pages change
#
# https://stackoverflow.com/a/65514259
name: "labwc.github.io"
on:
push:
branches:
- 'master'
- 'v0.5_disabled'
paths:
- 'docs/*.scd'
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: labwc.github.io
env:
GITHUB_TOKEN: ${{ secrets.WEB_DEPLOY_TOKEN }}
run: |
gh api repos/labwc/labwc.github.io/dispatches \
--raw-field event_type=rebuild