Skip to content

docs(l2): add timelock contract docs #1223

docs(l2): add timelock contract docs

docs(l2): add timelock contract docs #1223

Workflow file for this run

name: Publish Ethrex docs to https://docs.ethrex.xyz/
on:
push:
branches:
- main
paths:
- "docs/**"
pull_request:
paths:
- "docs/**"
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: '0.4.51'
- name: Install mdbook dependencies
run: make docs-deps
- name: Build documentation
run: make docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: book/html
destination_dir: . # root of gh-pages
keep_files: true # do not erase flamegraphs/ or benchmarks/
cname: docs.ethrex.xyz # always commit the CNAME file