Skip to content

Commit

Permalink
docs attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastacyclop committed Feb 17, 2024
1 parent 36ac59a commit de79ae9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@ on:
env:
CARGO_TERM_COLOR: always

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
contents: read
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -28,7 +32,9 @@ jobs:
id: pages
uses: actions/configure-pages@v4
- name: Build Docs
run: cargo doc --no-deps --all-features --verbose
run: |
cargo doc --no-deps --all-features --verbose
echo "<meta http-equiv=\"refresh\" content=\"0; url=wrapped2d\">" > target/doc/index.html
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand All @@ -38,12 +44,6 @@ jobs:
needs: build
runs-on: ubuntu-latest

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
contents: read
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

# Deploy to the github-pages environment
environment:
name: github-pages
Expand Down

0 comments on commit de79ae9

Please sign in to comment.