Merge pull request #512 from plone/config-with-default-template-0beddf5d #4
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: Trigger build and deploy of Plone 6 documentation | |
on: | |
push: | |
branches: | |
- "master" | |
paths: | |
- "docs/*" | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
curl -X POST \ | |
-H "Authorization: Bearer ${{secrets.DOCUMENTATION_BUILD_APPLICATION_KEY}}" \ | |
-H "Accept: application/vnd.github.v3+json" \ | |
https://api.github.com/repos/plone/documentation/actions/workflows/update_submodule.yml/dispatches \ | |
-d '{"ref": "6-dev"}' |