ci: add run command to respecter call #28
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Generate respecter HTML | |
| on: | |
| # workflow_run: | |
| # workflows: ["Build ontology assets"] | |
| # types: | |
| # - completed | |
| push: | |
| branches: | |
| - respecter-ci | |
| jobs: | |
| generate-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout ontology repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.12' | |
| - name: Install respecter | |
| run: | | |
| git clone https://github.com/sdsc-ordes/respecter.git | |
| pip install -e respecter | |
| - name: Generate ReSpec HTML | |
| run: | | |
| respecter run ./build/ontology_combined.ttl \ | |
| --config ./tools/respecter/config.yaml \ | |
| --output ./docs/index.html | |
| - name: Upload generated HTML | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: respec-html | |
| path: ./docs/index.html |