Skip to content

Commit 2570bd7

Browse files
committed
fix: make respecter dependent on build job
1 parent 46cb663 commit 2570bd7

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/docs.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
name: Build ReSpec HTML page
1+
name: Generate respecter HTML
22

33
on:
4-
push:
5-
branches:
6-
- main
7-
pull_request:
4+
workflow_run:
5+
workflows: ["Build ontology assets"]
6+
types:
7+
- completed
88

99
jobs:
10-
build-respec:
10+
generate-docs:
1111
runs-on: ubuntu-latest
12-
12+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1313
steps:
1414
- name: Checkout ontology repository
1515
uses: actions/checkout@v4
1616

1717
- name: Set up Python
1818
uses: actions/setup-python@v4
1919
with:
20-
python-version: '3.11' # or whichever you prefer
20+
python-version: '3.12'
2121

2222
- name: Install respecter
2323
run: |

0 commit comments

Comments
 (0)