mirror of
https://github.com/semaphore-protocol/semaphore.git
synced 2026-04-28 03:00:41 -04:00
26 lines
454 B
YAML
26 lines
454 B
YAML
name: docs
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
publish_docs:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 16.x
|
|
|
|
- run: cd docs && yarn --frozen-lockfile && yarn build
|
|
|
|
- uses: crazy-max/ghaction-github-pages@v2.5.0
|
|
with:
|
|
build_dir: docs/build
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|