Skip to content

Commit

Permalink
add ci to trigger rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
oklopfer committed Mar 12, 2024
1 parent d9fdbbb commit b146f51
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/trigger-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Trigger GitHub Pages Rebuild
on:
workflow_dispatch:
push:
branches: [main]

jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: make curl request
run: curl -u ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} \
-X POST https://api.github.com/repos/${{ github.actor }}/website/pages/builds \
-H "Accept: application/vnd.github.mister-fantastic-preview+json"

0 comments on commit b146f51

Please sign in to comment.