Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
pull_request:
branches: [develop, main]
push:
branches: [feature/**]
workflow_dispatch:
inputs:
environment:
Expand All @@ -27,7 +28,7 @@ jobs:
environment: dev
ref: ${{ github.sha }}
gcp_project_id: hca-demo-dev
artifact_registry_repo: reference-architectures
artifact_registry_repo: blueprints
region: us-east4
service_name: sample-service
code_directory: ./code/hello-python
Expand All @@ -48,13 +49,14 @@ jobs:
environment: qa
ref: ${{ github.sha }}
gcp_project_id: hca-demo-qa
artifact_registry_repo: reference-architectures
artifact_registry_repo: blueprints
region: us-east4
service_name: sample-service
code_directory: ./code/hello-python
language: python
secrets: inherit

#PROD
prod:
if: inputs.environment == 'prod'
uses: ./.github/workflows/_deployment.yaml
Expand All @@ -67,7 +69,7 @@ jobs:
environment: prod
ref: ${{ github.sha }}
gcp_project_id: hca-demo-prod
artifact_registry_repo: reference-architectures
artifact_registry_repo: blueprints
region: us-east4
service_name: sample-service
code_directory: ./code/hello-python
Expand Down