CI: automatically rebuild labwc.github.io

This commit is contained in:
Consolatis 2023-02-24 12:56:27 +01:00
parent e9d507bbbf
commit 0b68d58e84

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