Merge pull request #931 from netbirdio/feature/add_docs_api_trigger

Add trigger for docs generation to release workflow
This commit is contained in:
pascal-fischer 2023-06-06 12:56:58 +02:00 committed by GitHub
commit 9460c4a91e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -205,4 +205,17 @@ jobs:
repo: netbirdio/sign-pipelines
ref: ${{ env.SIGN_PIPE_VER }}
token: ${{ secrets.SIGN_GITHUB_TOKEN }}
inputs: '{ "tag": "${{ github.ref }}" }'
inputs: '{ "tag": "${{ github.ref }}" }'
trigger_docs_build:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Trigger API pages generation and docs build
uses: benc-uk/workflow-dispatch@v1
with:
workflow: docs site build and push
repo: netbirdio/docs
ref: "refs/heads/main"
token: ${{ secrets.SIGN_GITHUB_TOKEN }}
inputs: '{ "generateAPI": true }'