Skip to content

docs: revise CI

docs: revise CI #21

Workflow file for this run

name: Docs
on:
pull_request:
branches: [master]
push:
branches: [master]
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