Skip to content

Commit

Permalink
Merge branch 'main' into spope/11967-duplicate-messages
Browse files Browse the repository at this point in the history
* main:
  chore: Codeclimate deployment action (#280)
  • Loading branch information
BernardGatt committed Jan 18, 2024
2 parents 9e3bdf7 + f1bfc22 commit b027f2e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/deploy-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# If using sd on macos, "brew install" works great. for Linux, this is the recommended way.
- name: Install sd CLI to use later in the workflow
# uses: kenji-miyake/setup-sd@v1
uses: levibostian/setup-sd@add-file-extension # Using fork until upstream Action has bug fixed in it.
uses: levibostian/setup-sd@add-file-extension # Using fork until upstream Action has bug fixed in it.

# Semantic-release tool is used to:
# 1. Determine the next semantic version for the software during deployment.
Expand Down Expand Up @@ -84,6 +84,14 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_NOTIFY_RELEASES_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

- name: Send Velocity Deployment
uses: codeclimate/[email protected]
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/[email protected]
if: ${{ failure() }} # only run this if any previous step failed
Expand Down

0 comments on commit b027f2e

Please sign in to comment.