mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 14:24:43 -07:00
Create update-gh-pages.yml
This commit is contained in:
parent
5c2c845dc8
commit
4801bcae2a
1 changed files with 16 additions and 0 deletions
16
.github/workflows/update-gh-pages.yml
vendored
Normal file
16
.github/workflows/update-gh-pages.yml
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue