Test setting that allows deployment from branch "antora-test". #9
Workflow file for this run
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: Full Antora documentation build TEST 7 | |
# Based on OSI configuration https://github.com/OpenSimulationInterface/osi-documentation/blob/master/.github/workflows/antora-build.yml | |
on: | |
push: | |
branches: [ main, antora-test ] | |
pull_request: | |
branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
branches: | |
- antora-test | |
jobs: | |
trigger_antora: | |
name: Trigger OpenMATERIAL Antora generator | |
runs-on: Ubuntu-latest | |
# env: | |
# MUP_KEY: ${{ secrets.ANTORA_DISPATCH }} | |
steps: | |
- name: Trigger generator | |
# if: ${{ env.MUP_KEY != '' }} | |
uses: peter-evans/repository-dispatch@v3 | |
with: | |
token: ${{ secrets.ANTORA_DISPATCH }} | |
event-type: antora-build-trigger | |
repository: asam-ev/openmaterial-antora-generator | |
client-payload: '{"src": "${{ github.repository }}", "ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "head_ref": "${{ github.head_ref }}"}' | |