Skip to content

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

Check failure on line 13 in .github/workflows/docs.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/docs.yaml

Invalid workflow file

You have an error in your yaml syntax on line 13
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
# https://github.com/foundry-rs/foundry/issues/3440#issuecomment-1641853058
version: nightly-cc5637a979050c39b3d06bc4cc6134f0591ee8d0
- 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 }}