cosmos-sdk/.github/workflows/build-docs.yml
2022-09-23 11:33:38 -05:00

30 lines
641 B
YAML

name: Build Docs
# This workflow runs when a PR is labeled with `docs`
# This will check if the docs build successfully by running `make build-docs`
on:
pull_request:
types: [labeled]
paths:
- "docs/**"
- "x/**/*.md"
permissions:
contents: read
jobs:
check-docs-build:
if: ${{ github.event.label.name == 'docs' }}
name: Check docs build
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Build docs
run: |
make build-docs LEDGER_ENABLED=false