add navid
to SAF
#453
This file contains 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: framework | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
deploy: | |
name: Run Terminology Design tools and deploy docs | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v1 | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install dependencies | |
run: bun install | |
- name: Run Terminology Design tools | |
run: npm run build:terminology | |
- name: Commit glossaries to repository | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Update Glossaries | |
file_pattern: "docs/glossaries/mrg.*.yaml" | |
- name: Build and Deploy | |
run: | | |
bun docusaurus build --out-dir build | |
touch build/.nojekyll | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./build |