We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cee04da commit 8ef2be3Copy full SHA for 8ef2be3
.github/workflows/ci.yml
@@ -0,0 +1,25 @@
1
+name: Build
2
+on:
3
+ push:
4
+ branches:
5
+ - master
6
+
7
+jobs:
8
+ website:
9
+ runs-on: ubuntu-20.04
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - uses: actions/setup-node@v2
13
+ with:
14
+ node-version: 14
15
16
+ - run: mkdir -p build build/example
17
+ - run: cp -rp example build/example
18
+ - run: npm i markdown-to-html-cli -g
19
+ - run: markdown-to-html --output build/index.html
20
21
+ - name: Deploy
22
+ uses: peaceiris/actions-gh-pages@v3
23
24
+ github_token: ${{ secrets.GITHUB_TOKEN }}
25
+ publish_dir: ./build
0 commit comments