Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
Comment thread
coord-e marked this conversation as resolved.
push:
branches:
- main

permissions: {}

concurrency:
group: ${{ github.workflow }}
Comment thread
coord-e marked this conversation as resolved.

jobs:
docs:
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- run: cargo doc --no-deps --document-private-items
- run: echo '<meta http-equiv="refresh" content="0;url=thrust">' > target/doc/index.html
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
with:
path: 'target/doc'
- id: deployment
uses: actions/deploy-pages@v4
Loading