From 09b12dbaf548978f1402e33c955b6650d4ccddf6 Mon Sep 17 00:00:00 2001 From: Gustavo Freze Date: Sat, 24 Oct 2026 15:20:36 -0300 Subject: [PATCH] ci: Ask the documentation site for a new build when a release is published. --- .github/workflows/notify-site.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/notify-site.yml diff --git a/.github/workflows/notify-site.yml b/.github/workflows/notify-site.yml new file mode 100644 index 0000000..1983abf --- /dev/null +++ b/.github/workflows/notify-site.yml @@ -0,0 +1,23 @@ +name: Notify the documentation site + +on: + release: + types: + - published + +concurrency: + group: notify-site-${{ github.ref }} + cancel-in-progress: true + +permissions: {} + +jobs: + notify-site: + name: Notify the documentation site + runs-on: ubuntu-26.04 + timeout-minutes: 5 + steps: + - name: Ask the documentation site for a new build + env: + GH_TOKEN: '${{ secrets.SITE_DISPATCH_TOKEN }}' + run: gh api repos/tiny-blocks/tiny-blocks.github.io/dispatches -f event_type=library-released