Merge pull request #1148 from SEKOIA-IO/feat/zscaler-zia-user-name #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 a documentation rebuild | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: my-app-install token | |
id: my-app | |
uses: getsentry/action-github-app-token@v1 | |
with: | |
app_id: ${{ secrets.DISPATCH_APP_ID }} | |
private_key: ${{ secrets.DISPATCH_APP_SECRET_KEY }} | |
- name: Repository Dispatch | |
uses: peter-evans/repository-dispatch@v1 | |
with: | |
token: ${{ steps.my-app.outputs.token }} | |
event-type: rebuild-intake-documentation | |
repository: SEKOIA-IO/documentation/ |