We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f3ae4a commit 85efbe7Copy full SHA for 85efbe7
.github/workflows/ci.yml
@@ -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