Skip to content

Commit

Permalink
added cicd.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
qtrinh2 committed Oct 30, 2024
1 parent f8f1054 commit 6cea7fc
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Build and Publish, Deploy Docker Image"

on:
workflow_dispatch:
push:
branches:
- "main"
- "feature/cicd-workflows"
paths:
- "**"

jobs:
build-publish:
uses: chnm/.github/.github/workflows/django--build-publish.yml@main
secrets: inherit
with:

container-registry: "ghcr.io"
container-image-name: "graffitihouse"

django-context-root: "."

website-devl-fqdn: "dev.civilwargraffiti.org"
website-prod-fqdn: "civilwargraffiti.org"

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

0 comments on commit 6cea7fc

Please sign in to comment.