Skip to content

Commit

Permalink
GAT-1887: Slack Channel notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
reubensamuel authored Feb 21, 2023
1 parent b22e3ce commit 7d9d652
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/preprod_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,13 @@ jobs: # Deployment please don't modify anything here as the infrastructure
with:
# args: run services update '${{ env.SERVICE_NAME }}' --image='${{ env.GAR_LOCATION }}'-docker.pkg.dev/'${{ env.DEV_PROJECT_ID }}'/'${{ env.GAR_NAME }}'/${{ steps.getversion.outputs.version }}:${{ github.sha }} --region='${{ env.SERVICE_REGION }}' --project='${{ env.PROJECT_ID }}'
args: run services update '${{ env.SERVICE_NAME }}' --image='${{ env.GAR_LOCATION }}'-docker.pkg.dev/'${{ env.DEV_PROJECT_ID }}'/'${{ env.GAR_NAME }}'/${{ steps.getversion.outputs.version }}:latest --region='${{ env.SERVICE_REGION }}' --project='${{ env.PROJECT_ID }}'
# If required, use the Cloud Run url output in later steps
# If required, use the Cloud Run url output in later steps
- name: Deploy Notification
id: deploynotificationsent
uses: act10ns/slack@v1
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
channel: ${{ env.SLACK_CHANNEL }}
message: Deploying {{ env.GITHUB_REF_NAME }} branch
if: always()

0 comments on commit 7d9d652

Please sign in to comment.