Skip to content

chore(dev): revise CI #172

chore(dev): revise CI

chore(dev): revise CI #172

Workflow file for this run

name: Docs
on:
pull_request:
branches: [master, v1.x]
paths:
- "*.h"
- "*.md"
- "docs/**"
- "!**README.md"
- "examples**.cpp"
- ".github/workflows/doxygen.yml"
- "Doxyfile"
push:
branches: [master, v1.x]
paths:
- "*.h"
- "*.md"
- "docs/**"
- "!**README.md"
- "examples**.cpp"
- ".github/workflows/doxygen.yml"
- "Doxyfile"
tags: ["*"]
workflow_dispatch:
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
build:
uses: nRF24/.github/.github/workflows/build_docs.yaml@review-ci
with:
doxygen-version: '1.15.0'
deploy:
needs: [build]
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
permissions:
# to authenticate the gh-pages environment
id-token: write
# to upload to GitHub Pages
pages: write
uses: nRF24/.github/.github/workflows/deploy_docs.yaml@review-ci
secrets: inherit