Some checks failed
update docs / trigger_docs_api_update (push) Has been cancelled
Release / release (push) Has been cancelled
Release / release_ui (push) Has been cancelled
Release / release_ui_darwin (push) Has been cancelled
Release / trigger_signer (push) Has been cancelled
Release / post_on_forum (push) Has been cancelled
sync tag / trigger_sync_tag (push) Has been cancelled
* Separate shared code dependencies * Fix import * Test respective shared code * Update openapi ref * Fix test * Fix test path
22 lines
534 B
YAML
22 lines
534 B
YAML
name: update docs
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
paths:
|
|
- 'shared/management/http/api/openapi.yml'
|
|
|
|
jobs:
|
|
trigger_docs_api_update:
|
|
runs-on: ubuntu-latest
|
|
if: startsWith(github.ref, 'refs/tags/')
|
|
steps:
|
|
- name: Trigger API pages generation
|
|
uses: benc-uk/workflow-dispatch@v1
|
|
with:
|
|
workflow: generate api pages
|
|
repo: netbirdio/docs
|
|
ref: "refs/heads/main"
|
|
token: ${{ secrets.SIGN_GITHUB_TOKEN }}
|
|
inputs: '{ "tag": "${{ github.ref }}" }' |