diff --git a/.github/workflows/trigger-build.yml b/.github/workflows/trigger-build.yml new file mode 100644 index 0000000..d255687 --- /dev/null +++ b/.github/workflows/trigger-build.yml @@ -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" \ No newline at end of file