Skip to content

Commit 1e458c8

Browse files
authored
IBX-9904: Trigger API refs build (#5)
* Trigger documentation-developer api_refs.yaml on `v*` tag * api_refs.yaml: No ref, use default branch HEAD
1 parent 2d3ec1d commit 1e458c8

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/api_refs.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 'API References'
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
trigger-api-refs-build:
10+
name: 'Build API References'
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: octokit/[email protected]
14+
name: "Trigger API references' build"
15+
with:
16+
repository: ibexa/documentation-developer
17+
workflow: 'api_refs.yaml'
18+
route: POST /repos/{repository}/actions/workflows/{workflow}/dispatches
19+
inputs: '{ "version": "${{ github.ref_name }}" }'
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.TRAVIS_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)