Skip to content

feat: uncomment accounting extension #11

feat: uncomment accounting extension

feat: uncomment accounting extension #11

Workflow file for this run

name: Deploy docs
on:
push:
branches:
- main
- dev
pull_request:
paths:
- 'docs/**'
branches:
- dev
jobs:
if: false # TODO: Fix the docs

Check failure on line 15 in .github/workflows/docs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docs.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
deploy-docs:
name: Deploy docs
runs-on: ubuntu-latest
environment:
name: ${{ github.ref_name == 'main' && 'Prod' || 'Dev' }}
steps:
- uses: actions/checkout@v3
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
- name: Install node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- name: Install dependencies
run: yarn --frozen-lockfile --network-concurrency 1
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Build Docs
run: yarn docs:build
- name: Create book folder
run: mdbook build docs
- uses: amondnet/vercel-action@v25
id: vercel-deployment
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required
vercel-org-id: ${{ secrets.ORG_ID}} # Required
scope: ${{ secrets.ORG_ID}} # Required
vercel-args: ${{ github.ref_name == 'main' && '--prod' || '' }}
vercel-project-id: ${{ secrets.PROJECT_ID}} # Required
working-directory: ./docs/book
- name: Comment PR
if: github.event_name == 'pull_request'
uses: thollander/actions-comment-pull-request@v2
with:
message: |
Preview: ${{ steps.vercel-deployment.outputs.preview-url }}