Skip to content

Commit

Permalink
change if statement for prod canary
Browse files Browse the repository at this point in the history
  • Loading branch information
chasinandrew committed Oct 3, 2023
1 parent d33b2e9 commit 055a9f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ jobs:
envsubst < ./service-yaml/container-${{ inputs.environment }}.yaml > container-${{ inputs.environment }}.yaml
- name: Create Service ${{ inputs.environment }} Declaration
if: inputs.environment == 'prod'
if: github.event_name == 'workflow_dispatch'
run: |-
export CONTAINER_IMAGE="${{ vars.region }}-docker.pkg.dev/${{ vars.artifact_registry_project }}/${{ vars.artifact_registry_repo }}/${{ vars.service_name }}:${{ github.sha }}"
export SERVICE_NAME="${{ vars.service_name }}"
Expand Down

0 comments on commit 055a9f2

Please sign in to comment.