fix(ci): allow to set docs build as a required test (#7413)
* fix(ci): allow to set docs build as a required test * build(docs): add problem matcher to docs
This commit is contained in:
parent
6ec670e45a
commit
7f28ac9dd5
|
|
@ -0,0 +1,42 @@
|
||||||
|
name: Docs
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths-ignore:
|
||||||
|
# doc source files
|
||||||
|
- 'book/**'
|
||||||
|
- '**/firebase.json'
|
||||||
|
- '**/.firebaserc'
|
||||||
|
- 'katex-header.html'
|
||||||
|
# rustdoc source files
|
||||||
|
- '**/*.rs'
|
||||||
|
- '**/Cargo.toml'
|
||||||
|
- '**/Cargo.lock'
|
||||||
|
# configuration files
|
||||||
|
- '.cargo/config.toml'
|
||||||
|
- '**/clippy.toml'
|
||||||
|
# workflow definitions
|
||||||
|
- '.github/workflows/docs.yml'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-docs-book:
|
||||||
|
name: Build and Deploy Zebra Book Docs
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: 'echo "No build required"'
|
||||||
|
|
||||||
|
build-docs-external:
|
||||||
|
name: Build and Deploy Zebra External Docs
|
||||||
|
timeout-minutes: 45
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: 'echo "No build required"'
|
||||||
|
|
||||||
|
build-docs-internal:
|
||||||
|
name: Build and Deploy Zebra Internal Docs
|
||||||
|
timeout-minutes: 45
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: 'echo "No build required"'
|
||||||
|
|
@ -76,6 +76,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
|
- uses: r7kamura/rust-problem-matchers@v1.4.0
|
||||||
|
|
||||||
- name: Setup mdBook
|
- name: Setup mdBook
|
||||||
uses: jontze/action-mdbook@v2.2.1
|
uses: jontze/action-mdbook@v2.2.1
|
||||||
with:
|
with:
|
||||||
|
|
@ -183,6 +185,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
|
- uses: r7kamura/rust-problem-matchers@v1.4.0
|
||||||
|
|
||||||
- name: Install last version of Protoc
|
- name: Install last version of Protoc
|
||||||
uses: arduino/setup-protoc@v2.0.0
|
uses: arduino/setup-protoc@v2.0.0
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,3 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: 'echo "No build required"'
|
- run: 'echo "No build required"'
|
||||||
|
|
||||||
docs:
|
|
||||||
name: Rust doc
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- run: 'echo "No build required"'
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue