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.
2 parents 51e1e7e + 67a616a commit 86b5be8Copy full SHA for 86b5be8
.github/workflows/docs.yml
@@ -0,0 +1,28 @@
1
+on:
2
+ push:
3
+ branches:
4
+ - aip-61-adex-v5
5
+
6
+name: Deploy docs
7
8
+jobs:
9
+ deploy-docs:
10
+ name: Deploy docs on gh-pages
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ with:
15
+ submodules: true
16
+ - name: Build docs
17
+ run: cargo doc --no-deps
18
+ - name: Prepare /docs & index file
19
+ run: |
20
+ rm -rf ./docs
21
+ echo "<meta http-equiv=\"refresh\" content=\"0; url=sentry\">" > target/doc/index.html
22
+ cp -r target/doc ./docs
23
+ - name: Deploy gh-pages
24
+ # if: github.ref == 'refs/heads/aip-61-adex-v5'
25
+ uses: peaceiris/actions-gh-pages@v3
26
27
+ github_token: ${{ secrets.GITHUB_TOKEN }}
28
+ publish_dir: ./docs
0 commit comments