Skip to content

chore: v0.3.1

chore: v0.3.1 #29

Workflow file for this run

name: Build Documentation
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v3
- uses: actions-rs/[email protected]
with:
override: true
toolchain: nightly
- name: Install bpf build tool
run: cargo install bpf-linker
- name: Build Documentation
run: |
cargo doc --all --no-deps
echo "<meta http-equiv=\"refresh\" content=\"0; url=frame_analyzer\">" > target/doc/index.html
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Fix permissions
run: |
chmod -c -R +rX "target/doc" | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "target/doc"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4