diff --git a/.github/workflows/antora-generator.yml b/.github/workflows/antora-generator.yml index e5632fa1c..251478266 100644 --- a/.github/workflows/antora-generator.yml +++ b/.github/workflows/antora-generator.yml @@ -13,12 +13,15 @@ jobs: runs-on: Ubuntu-latest + env: + MUP_KEY: ${{ secrets.MACHINE_USER_PAT }} + steps: - name: Trigger generator + if: ${{ env.MUP_KEY != '' }} uses: peter-evans/repository-dispatch@v2 with: token: ${{ secrets.MACHINE_USER_PAT }} event-type: antora-build-trigger repository: OpenSimulationInterface/osi-antora-generator client-payload: '{"src": "${{ github.repository }}", "ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "head_ref": "${{ github.head_ref }}"}' - \ No newline at end of file