Skip to content

Commit

Permalink
Update and rename build-and-publish.yml to cicd.yml
Browse files Browse the repository at this point in the history
added deployment job to complete end to end pipeline
  • Loading branch information
qtrinh2 authored May 31, 2024
1 parent 7212d26 commit c6be3f9
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Build and Publish Docker Image"
name: "Build and Publish, Deploy Docker Image"

on:
workflow_dispatch:
Expand All @@ -9,7 +9,7 @@ on:
- "**"

jobs:
workflow:
build-publish:
uses: chnm/.github/.github/workflows/django--build-publish.yml@main
secrets: inherit
with:
Expand All @@ -21,3 +21,11 @@ jobs:

website-devl-fqdn: "dev.lasfera.rrchnm.org"
website-prod-fqdn: "dev.lasfera.rrchnm.org"

deploy:
uses: chnm/.github/.github/workflows/django--deploy.yml@main
needs: [build-publish]
secrets: inherit
with:
website-devl-fqdn: "dev.lasfera.rrchnm.org"
website-prod-fqdn: "dev.lasfera.rrchnm.org"

0 comments on commit c6be3f9

Please sign in to comment.