Skip to content

Commit

Permalink
chore: Codeclimate deployment action (#228)
Browse files Browse the repository at this point in the history
Co-authored-by: Ahmed-CIO <>
  • Loading branch information
Ahmed-CIO authored Jan 9, 2024
1 parent b906c3d commit 196ac55
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 196ac55

Please sign in to comment.