From 65f527fc1f5767186bf22ca1c06f0e1a3f1b8115 Mon Sep 17 00:00:00 2001 From: Ahmed-CIO <> Date: Fri, 22 Dec 2023 18:13:44 +0000 Subject: [PATCH] Codeclimate deployment action --- .github/workflows/deploy-sdk.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/deploy-sdk.yml b/.github/workflows/deploy-sdk.yml index cd875d7e..09958709 100644 --- a/.github/workflows/deploy-sdk.yml +++ b/.github/workflows/deploy-sdk.yml @@ -70,6 +70,14 @@ jobs: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK + - name: Send Velocity Deployment + uses: codeclimate/velocity-deploy-action@v1.0.0 + if: steps.semantic-release.outputs.new_release_published == 'true' # only run if a git tag was made. + with: + token: ${{ secrets.VELOCITY_DEPLOYMENT_TOKEN }} + version: ${{ steps.semantic-release.outputs.new_release_version }} + environment: production + - name: Notify team of failure uses: slackapi/slack-github-action@v1.24.0 if: ${{ failure() }} # only run this if any previous step failed