Skip to content

Commit

Permalink
Add automated doxygen deployment (#184)
Browse files Browse the repository at this point in the history
Adds the automated doxygen action to a new on-each-commit workflow and the release workflow. Also removes the unused memory_statics.yml and makes the workflow file names consistent between repos.
  • Loading branch information
archigup authored Dec 17, 2021
1 parent d79fbac commit ff8f4b0
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 23 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Doxygen Generation
on:
push:
branches: [main]
workflow_dispatch:
jobs:
doxygen-generation:
runs-on: ubuntu-latest
steps:
- name: Doxygen generation
uses: FreeRTOS/CI-CD-Github-Actions/doxygen-generation@main
22 changes: 0 additions & 22 deletions .github/workflows/memory_statistics.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,21 @@ jobs:
with:
name: coreMQTT-${{ github.event.inputs.version_number }}.zip
path: zip-check/coreMQTT-${{ github.event.inputs.version_number }}.zip
deploy-doxygen:
needs: tag-commit
name: Deploy doxygen documentation
runs-on: ubuntu-latest
steps:
- name: Doxygen generation
uses: FreeRTOS/CI-CD-Github-Actions/doxygen-generation@main
with:
ref: ${{ github.event.inputs.version_number }}
add_release: "true"
create-release:
needs:
- create-zip
- deploy-doxygen
if: ${{ ( github.event.inputs.delete_existing_tag_release == 'true' && success() ) || ( github.event.inputs.delete_existing_tag_release == 'false' && always() ) }}
needs: create-zip
name: Create Release and Upload Release Asset
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit ff8f4b0

Please sign in to comment.