We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96773e3 commit af4b1f7Copy full SHA for af4b1f7
.github/workflows/documentation.yml
@@ -3,14 +3,12 @@ name: Deploy Documentation
3
on:
4
push:
5
branches: [main]
6
- pull_request:
7
- branches: [main]
8
9
env:
10
CARGO_TERM_COLOR: always
11
12
jobs:
13
- build:
+ build-documentation:
14
runs-on: ubuntu-latest
15
steps:
16
- uses: actions/checkout@v2
@@ -39,3 +37,18 @@ jobs:
39
37
with:
40
38
name: documentation
41
path: public
+
+ release-documentation:
42
+ needs: [build-documentation]
43
+ runs-on: ubuntu-latest
44
+ steps:
45
+ - name: Download artifacts
46
+ uses: actions/download-artifact@v1
47
+ with:
48
+ name: documentation
49
+ path: public
50
+ - name: Deploy documentation to gh-pages
51
+ uses: peaceiris/actions-gh-pages@v3
52
53
+ github_token: ${{ secrets.GITHUB_TOKEN }}
54
+ publish_dir: ./public
0 commit comments