Decouple docs generation (#941)

* decouple docs update

* removed workflow run on push to main
This commit is contained in:
pascal-fischer
2023-06-12 15:37:08 +02:00
committed by GitHub
parent 481465e1ae
commit ff267768f0
2 changed files with 22 additions and 13 deletions

View File

@@ -206,16 +206,3 @@ jobs:
ref: ${{ env.SIGN_PIPE_VER }}
token: ${{ secrets.SIGN_GITHUB_TOKEN }}
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 }'