-
Notifications
You must be signed in to change notification settings - Fork 9
50 lines (40 loc) · 1.08 KB
/
framework.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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