Skip to content

Commit d707c58

Browse files
committed
ci: remove discord notification [skip ci]
1 parent 8b76d9d commit d707c58

File tree

2 files changed

+6
-15
lines changed

2 files changed

+6
-15
lines changed

.github/workflows/ci.yml

-15
Original file line numberDiff line numberDiff line change
@@ -365,18 +365,3 @@ jobs:
365365
labels: ${{ steps.meta.outputs.labels }}
366366
# Only push if (there's a new release on main branch, or if building a non-main branch) and (Only run on non-PR events or only PRs that aren't from forks)
367367
push: ${{ (github.ref != 'refs/heads/master' || steps.semantic.outputs.new_release_version != '') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
368-
369-
- name: API Discord notification
370-
if: steps.semantic.outputs.new_release_version != ''
371-
uses: Ilshidur/action-discord@master
372-
env:
373-
DISCORD_WEBHOOK: ${{ secrets.DISCORD_API_WEBHOOK }}
374-
DISCORD_USERNAME: Hiro Team
375-
DISCORD_AVATAR: "https://i.imgur.com/z9Iy6ug.png"
376-
DISCORD_EMBEDS: |
377-
[{
378-
"title": "API Release: ${{ steps.semantic.outputs.new_release_version }}",
379-
"url": "https://github.com/hirosystems/stacks-blockchain-api/releases/tag/v${{ steps.semantic.outputs.new_release_version }}"
380-
}]
381-
with:
382-
args: ":rocket: A new version (${{ steps.semantic.outputs.new_release_version }}) of the Stacks Blockchain API is available on Github!"

.releaserc

+6
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@
3838
"prepareCmd": "npm ci"
3939
}
4040
],
41+
[
42+
"@semantic-release/npm",
43+
{
44+
"pkgRoot": "./client"
45+
}
46+
],
4147
"@semantic-release/github",
4248
"@semantic-release/changelog",
4349
"@semantic-release/git"

0 commit comments

Comments
 (0)