Merge pull request #2201 from briandfoy/patch-1 #357
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rebuild Website | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
rebuild_website: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger website workflow | |
run: | | |
curl \ | |
-X POST \ | |
-u "${{ secrets.WORKFLOW_DISPATCH_USERINFO }}" \ | |
-H "Accept: application/vnd.github.everest-preview+json" \ | |
-H "Content-Type: application/json" \ | |
--data '{"ref": "main"}' \ | |
https://api.github.com/repos/mojolicious/mojolicious.org/actions/workflows/publish-website.yml/dispatches |