We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c864270 + 15710aa commit ac9df50Copy full SHA for ac9df50
1 file changed
.github/workflows/gh-pages.yml
@@ -0,0 +1,21 @@
1
+name: "GitHub Pages"
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ pages:
10
+ runs-on: ubuntu-18.04
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - name: Generate code coverage
14
+ run: |
15
+ RUSTDOCFLAGS="--html-in-header katex-header.html" cargo doc --no-deps
16
+ mv target/doc public
17
+ - name: Deploy GitHub Pages
18
+ uses: peaceiris/actions-gh-pages@v3
19
+ with:
20
+ github_token: ${{ secrets.GITHUB_TOKEN }}
21
+ publish_dir: ./public
0 commit comments