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