Skip to content

Merge pull request #13 from rainprotocol/2023-08-22-deps #4

Merge pull request #13 from rainprotocol/2023-08-22-deps

Merge pull request #13 from rainprotocol/2023-08-22-deps #4

Workflow file for this run

name: Build docs
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Generate docs
run: forge doc -b
- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: gh-pages
build_dir: docs/book
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}