forked from Open-CMSIS-Pack/Open-CMSIS-Pack-Spec
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (34 loc) · 931 Bytes
/
wiki.yaml
File metadata and controls
34 lines (34 loc) · 931 Bytes
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
name: Sync wiki content
on:
workflow_dispatch:
push:
branches:
- main
paths:
- '.github/workflows/wiki.yaml'
- 'doc/Glossary'
- 'doc/adr/*'
jobs:
wiki:
name: Sync content to wiki
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
path: origin
- uses: actions/checkout@v3
with:
repository: Open-CMSIS-Pack/Open-CMSIS-Pack.wiki
path: wiki
- name: Copy Glossary
run: cp -f origin/doc/Glossary.md wiki/
- name: Update ADRs
run: cat origin/doc/adr/*.md > wiki/Architecture-Decision-Records.md
- name: Commit wiki update
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "Sync wiki content from repository main branch"
git push
working-directory: wiki