Update Distanza.adoc #3705
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 docs build | |
on: | |
push: | |
branches: [ "main" ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
env: | |
DOCS_TOKEN: ${{ secrets.DOCS_TOKEN }} | |
# sleep a bit to make sure merging 5 PRs in the same minute only triggers one actual build | |
run: | | |
sleep 60 | |
curl -L \ | |
-X POST \ | |
-H "Accept: application/vnd.github+json" \ | |
-H "Authorization: Bearer $DOCS_TOKEN" \ | |
-H "X-GitHub-Api-Version: 2022-11-28" \ | |
https://api.github.com/repos/geogebra/docs/actions/workflows/antora.yml/dispatches \ | |
-d '{"ref":"main"}' |