We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbaaf26 commit c13b489Copy full SHA for c13b489
1 file changed
.github/workflows/docs.yml
@@ -0,0 +1,30 @@
1
+on:
2
+ push:
3
+ branches:
4
+ - main
5
+
6
+permissions: {}
7
8
+concurrency:
9
+ group: ${{ github.workflow }}
10
11
+jobs:
12
+ docs:
13
+ runs-on: ubuntu-latest
14
+ permissions:
15
+ contents: read
16
+ pages: write
17
+ id-token: write
18
+ environment:
19
+ name: github-pages
20
+ url: ${{ steps.deployment.outputs.page_url }}
21
+ steps:
22
+ - uses: actions/checkout@v4
23
+ - run: cargo doc --no-deps --document-private-items
24
+ - run: echo '<meta http-equiv="refresh" content="0;url=thrust">' > target/doc/index.html
25
+ - uses: actions/configure-pages@v5
26
+ - uses: actions/upload-pages-artifact@v3
27
+ with:
28
+ path: 'target/doc'
29
+ - id: deployment
30
+ uses: actions/deploy-pages@v4
0 commit comments