add(book): Describes custom Testnets in the Zebra book #1269
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow patches for skipping Google Cloud docs updates on PRs from external repositories. | |
name: Docs | |
# Run on PRs from external repositories, let them pass, and then Mergify will check them. | |
# GitHub doesn't support filtering workflows by source branch names, so we have to do it for each | |
# job. | |
on: | |
pull_request: | |
# IMPORTANT | |
# | |
# The job names in `docs-deploy-firebase.yml`, `docs-deploy-firebase.patch.yml` and | |
# `docs-deploy-firebase.patch-external.yml` must be kept in sync. | |
jobs: | |
build-docs-book: | |
name: Build and Deploy Zebra Book Docs | |
# Only run on PRs from external repositories. | |
if: ${{ startsWith(github.event_name, 'pull') && github.event.pull_request.head.repo.fork }} | |
runs-on: ubuntu-latest | |
steps: | |
- run: 'echo "Skipping job on fork"' | |
build-docs-internal: | |
name: Build and Deploy Zebra Internal Docs | |
# This dependency allows all these jobs to depend on a single condition, making it easier to | |
# change. | |
needs: build-docs-book | |
runs-on: ubuntu-latest | |
steps: | |
- run: 'echo "Skipping job on fork"' |