Trigger website rebuild #12
This file contains hidden or 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 website rebuild | |
| on: | |
| workflow_dispatch: | |
| workflow_run: | |
| workflows: ["pages-build-deployment"] | |
| types: [completed] | |
| jobs: | |
| trigger: | |
| if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Trigger angular-buch-website rebuild | |
| run: gh workflow run build-website.yml --repo angular-schule/angular-buch-website | |
| env: | |
| GH_TOKEN: ${{ secrets.WEBSITE_DISPATCH_TOKEN }} |