Skip to content

Commit da9e732

Browse files
marcoienisimonsan
authored andcommitted
add ci (#115)
1 parent 0538fe6 commit da9e732

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/ci.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Continuous Integration
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
8+
jobs:
9+
10+
test:
11+
runs-on: ubuntu-20.04
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: Read .env
16+
id: mdbook-version
17+
run: |
18+
. ./.env
19+
echo "::set-output name=MDBOOK_VERSION::${MDBOOK_VERSION}"
20+
21+
- name: Setup mdBook
22+
uses: peaceiris/actions-mdbook@v1
23+
with:
24+
mdbook-version: '${{ steps.mdbook-version.outputs.MDBOOK_VERSION }}'
25+
26+
- run: mdbook build

0 commit comments

Comments
 (0)