Skip to content

Commit

Permalink
[doxygen] Deploy doxygen output to connectedhomeip-doc repo (#7259)
Browse files Browse the repository at this point in the history
Currently, doxygen HTML files are deployed to "gh-pages"
branch of the main connectedhomeip repo. As a result, it
takes more and more time to checkout the entire repo.

Move the doxygen output to an external repository.
  • Loading branch information
Damian-Nordic authored and pull[bot] committed Jun 10, 2021
1 parent 218629f commit 4077691
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/doxygen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ name: Doxygen
on:
push:
pull_request:
workflow_dispatch:

jobs:
doxygen:
Expand All @@ -38,8 +39,12 @@ jobs:
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
id: extract_branch
- name: Deploy if master
if: steps.extract_branch.outputs.branch == 'master' && github.repository == 'project-chip/connectedhomeip'
#if: steps.extract_branch.outputs.branch == 'master' && github.repository == 'project-chip/connectedhomeip'
if: github.event_name == 'workflow_dispatch'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
deploy_key: ${{ secrets.DOXYGEN_DEPLOY_KEY }}
external_repository: project-chip/connectedhomeip-doc
publish_dir: ./docs/html
# Keep only the latest version of the documentation
force_orphan: true

0 comments on commit 4077691

Please sign in to comment.