From 0b68d58e84955cff0dcdf0f99b7a9f595bf7a5a9 Mon Sep 17 00:00:00 2001 From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Fri, 24 Feb 2023 12:56:27 +0100 Subject: [PATCH] CI: automatically rebuild labwc.github.io --- .github/workflows/labwc.github.io.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/labwc.github.io.yml diff --git a/.github/workflows/labwc.github.io.yml b/.github/workflows/labwc.github.io.yml new file mode 100644 index 00000000..2538c426 --- /dev/null +++ b/.github/workflows/labwc.github.io.yml @@ -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