Create update-gh-pages.yml

This commit is contained in:
jklingen 2025-05-09 14:42:01 +02:00 committed by GitHub
commit 4801bcae2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

16
.github/workflows/update-gh-pages.yml vendored Normal file
View file

@ -0,0 +1,16 @@
on:
release:
types: [published]
jobs:
update-gh-pages:
runs-on: ubuntu-latest
steps:
- name: Trigger GitHub Pages rebuild
shell: bash
run: |
curl -X POST \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github+json" \
https://api.github.com/repos/${{ github.repository }}/pages/builds