feat: mass (un)delegation in stake table contract #8171
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Rust Docs | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| - "release-*" | |
| pull_request: | |
| schedule: | |
| - cron: "0 0 * * 1" | |
| workflow_dispatch: | |
| concurrency: | |
| # ensure non-PR jobs run in parallel | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| env: | |
| CARGO_INCREMENTAL: "0" | |
| jobs: | |
| doc-rust: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - uses: taiki-e/install-action@just | |
| # NOTE: no rust cache, not a time critical job | |
| - name: Build Docs | |
| run: | | |
| just doc | |
| - name: Create documentation | |
| if: ${{ github.ref == 'refs/heads/main' }} | |
| run: | | |
| cp -R target/doc public | |
| echo '<meta http-equiv="refresh" content="0; url=sequencer">' > public/index.html | |
| - name: Deploy | |
| uses: peaceiris/actions-gh-pages@v4 | |
| if: ${{ github.ref == 'refs/heads/main' }} | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./public | |
| cname: sequencer.docs.espressosys.com |