mirror of
https://github.com/greenshot/greenshot
synced 2025-07-05 20:42:14 -07:00
18 lines
454 B
YAML
18 lines
454 B
YAML
name: Update GitHub Pages
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
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.GH_PAT_JKL }}" \
|
|
-H "Accept: application/vnd.github+json" \
|
|
https://api.github.com/repos/${{ github.repository }}/pages/builds
|