Merge pull request #1238 from GeoscienceAustralia/develop #79
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 DEA Docs Build | |
# Documentation in this repo is not built in this GitHub Action. Instead, it is built by a separate Action in the dea-knowledge-hub repo. | |
# See here: https://github.com/GeoscienceAustralia/dea-knowledge-hub/blob/main/.github/workflows/deploy-production.yaml | |
# The below action triggers a build in dea-knowledge-hub when changes are pushed to the 'stable' branch in the current repo | |
on: | |
push: | |
branches: | |
- stable | |
jobs: | |
trigger_docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Repository Dispatch | |
uses: peter-evans/repository-dispatch@v1 | |
with: | |
token: ${{ secrets.REPO_PAT }} | |
repository: GeoscienceAustralia/dea-knowledge-hub | |
event-type: republish-docs | |