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 81219ac commit 31137b3Copy full SHA for 31137b3
.github/workflows/deploy.yml
@@ -0,0 +1,24 @@
1
+name: Deploy
2
+on:
3
+ push:
4
+ branches:
5
+ - master
6
+
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - name: Install mdbook
13
+ run: |
14
+ mkdir mdbook
15
+ curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.8/mdbook-v0.4.8-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
16
+ echo `pwd`/mdbook >> $GITHUB_PATH
17
+ - name: Generate Book
18
19
+ ./generate-book.sh
20
+ - name: Deploy GitHub Pages
21
+ uses: rust-lang/simpleinfra/github-actions/static-websites@master
22
+ with:
23
+ deploy_dir: book
24
+ github_token: "${{ secrets.github_token }}"
.travis.yml
0 commit comments