Skip to content

Commit

Permalink
Deploy github pages with project docs
Browse files Browse the repository at this point in the history
  • Loading branch information
joajfreitas committed Jul 22, 2024
1 parent 87e4eaa commit a23bc0d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ env:

jobs:
CI:
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -25,3 +31,14 @@ jobs:
run: cargo test -- --include-ignored --nocapture
- name : Clippy
run: cargo clippy --all-features
- name : Docs
run: cargo doc --no-deps
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: target/doc/fpt
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4


0 comments on commit a23bc0d

Please sign in to comment.