diff --git a/.github/workflows/docs.patch.yml b/.github/workflows/docs.patch.yml new file mode 100644 index 00000000..0c3c94ac --- /dev/null +++ b/.github/workflows/docs.patch.yml @@ -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"' diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3b3520f8..d8bec885 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -76,6 +76,8 @@ jobs: with: persist-credentials: false + - uses: r7kamura/rust-problem-matchers@v1.4.0 + - name: Setup mdBook uses: jontze/action-mdbook@v2.2.1 with: @@ -183,6 +185,8 @@ jobs: with: persist-credentials: false + - uses: r7kamura/rust-problem-matchers@v1.4.0 + - name: Install last version of Protoc uses: arduino/setup-protoc@v2.0.0 with: diff --git a/.github/workflows/lint.patch.yml b/.github/workflows/lint.patch.yml index 840402c8..a6f443c2 100644 --- a/.github/workflows/lint.patch.yml +++ b/.github/workflows/lint.patch.yml @@ -15,9 +15,3 @@ jobs: runs-on: ubuntu-latest steps: - run: 'echo "No build required"' - - docs: - name: Rust doc - runs-on: ubuntu-latest - steps: - - run: 'echo "No build required"'