Skip to content

Commit

Permalink
adding workflow dependencies to deployment jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonzs13 committed Nov 7, 2024
1 parent 8ee2612 commit 4c849f3
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
name: Doxygen Deployment

on:
push:
branches: [main]
workflow_run:
workflows:
- Foxy Docker Build
- C++ Formatting Check
- Python Formatting Check
types:
- completed

jobs:
doxygen_generation:
if: ${{ github.event.workflow_run.conclusion == 'success' && github.ref == 'refs/heads/main' }}

runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/foxy-docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ name: Foxy Docker Push

on:
workflow_run:
workflows: ["Foxy Docker Build"]
workflows:
- Foxy Docker Build
- C++ Formatting Check
- Python Formatting Check
types:
- completed

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/galactic-docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ name: Galactic Docker Push

on:
workflow_run:
workflows: ["Galactic Docker Build"]
workflows:
- Foxy Docker Build
- C++ Formatting Check
- Python Formatting Check
types:
- completed

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/humble-docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ name: Humble Docker Push

on:
workflow_run:
workflows: ["Humble Docker Build"]
workflows:
- Foxy Docker Build
- C++ Formatting Check
- Python Formatting Check
types:
- completed

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/iron-docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ name: Iron Docker Push

on:
workflow_run:
workflows: ["Iron Docker Build"]
workflows:
- Foxy Docker Build
- C++ Formatting Check
- Python Formatting Check
types:
- completed

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/jazzy-docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ name: Jazzy Docker Push

on:
workflow_run:
workflows: ["Jazzy Docker Build"]
workflows:
- Foxy Docker Build
- C++ Formatting Check
- Python Formatting Check
types:
- completed

Expand Down

0 comments on commit 4c849f3

Please sign in to comment.