We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 028f93a + 283c6f2 commit a4b2516Copy full SHA for a4b2516
.github/workflows/rbe.yml
@@ -0,0 +1,33 @@
1
+name: Build and Publish
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v2
16
17
+ - name: Install mdbook
18
+ run: cargo install mdbook
19
20
+ - name: Build
21
+ run: mdbook build
22
23
+ - name: Publish
24
+ uses: peaceiris/actions-gh-pages@v3
25
+ with:
26
+ github_token: ${{ secrets.GITHUB_TOKEN }}
27
+ publish_dir: ./book
28
29
+ - name: Upload Artifact
30
+ uses: actions/upload-artifact@v1
31
32
+ name: rust-by-example
33
+ path: book
0 commit comments