Skip to content

feat(analytics): benchmark-aware portfolio health scoring (#709) #29

feat(analytics): benchmark-aware portfolio health scoring (#709)

feat(analytics): benchmark-aware portfolio health scoring (#709) #29

Workflow file for this run

name: Docs
on:
push:
branches: [main]
workflow_dispatch:
jobs:
publish-docs:
runs-on: ubuntu-latest
permissions:
contents: write
pages: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rust-docs
- name: Generate rustdoc
run: cargo doc --workspace --no-deps
- name: Add redirect index
run: |
echo '<!DOCTYPE html><html><head><meta http-equiv="refresh" content="0; url=propchain_contracts/index.html"></head><body>Redirecting to docs...</body></html>' > target/doc/index.html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc