Skip to content

Commit 9a5d588

Browse files
authored
Add automated doxygen deployment (#34)
Adds the automated doxygen action to a new on-each-commit workflow and the release workflow. Also removes the unused memory_statics.yml.
1 parent 1237825 commit 9a5d588

File tree

3 files changed

+24
-23
lines changed

3 files changed

+24
-23
lines changed

.github/workflows/doxygen.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Doxygen Generation
2+
on:
3+
push:
4+
branches: [main]
5+
workflow_dispatch:
6+
jobs:
7+
doxygen-generation:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Doxygen generation
11+
uses: FreeRTOS/CI-CD-Github-Actions/doxygen-generation@main

.github/workflows/memory_statistics.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,20 @@ jobs:
8282
with:
8383
name: backoffAlgorithm-${{ github.event.inputs.version_number }}.zip
8484
path: zip-check/backoffAlgorithm-${{ github.event.inputs.version_number }}.zip
85+
deploy-doxygen:
86+
needs: tag-commit
87+
name: Deploy doxygen documentation
88+
runs-on: ubuntu-latest
89+
steps:
90+
- name: Doxygen generation
91+
uses: FreeRTOS/CI-CD-Github-Actions/doxygen-generation@main
92+
with:
93+
ref: ${{ github.event.inputs.version_number }}
94+
add_release: "true"
8595
create-release:
86-
needs: create-zip
96+
needs:
97+
- create-zip
98+
- deploy-doxygen
8799
name: Create Release and Upload Release Asset
88100
runs-on: ubuntu-latest
89101
steps:

0 commit comments

Comments
 (0)