mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-15 11:21:04 +01:00
ff267768f0
* decouple docs update * removed workflow run on push to main
22 lines
534 B
YAML
22 lines
534 B
YAML
name: update docs
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
paths:
|
|
- 'management/server/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 }}" }' |