Skip to content

Commit

Permalink
add ci (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoIeni authored and simonsan committed Jan 1, 2021
1 parent 52c5bb3 commit 64b6a2e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,26 @@
name: Continuous Integration

on:
push:
branches: [master]
pull_request:

jobs:

test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2

- name: Read .env
id: mdbook-version
run: |
. ./.env
echo "::set-output name=MDBOOK_VERSION::${MDBOOK_VERSION}"
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: '${{ steps.mdbook-version.outputs.MDBOOK_VERSION }}'

- run: mdbook build

0 comments on commit 64b6a2e

Please sign in to comment.