-
-
Notifications
You must be signed in to change notification settings - Fork 9
31 lines (27 loc) · 662 Bytes
/
api.yml
File metadata and controls
31 lines (27 loc) · 662 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
name: API
on:
push:
branches: [ main ]
paths:
- 'basic/**'
workflow_dispatch:
jobs:
asmdoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name:
run: |
cd api
perl asmdoc.pl -author -version ../basic/basic.inc ../basic/modules/*.asm
cd ..
mkdir ../temp
cp api/* ../temp
git config user.name github-actions
git config user.email github-actions@github.com
git fetch
git checkout gh-pages
cp ../temp/* api
git add .
git commit -m "asmdoc"
git push origin gh-pages