mirror of
https://github.com/codex-team/editor.js
synced 2024-06-09 09:22:16 +02:00
Added a github link to codex bot release notification
This commit is contained in:
parent
92ccfc5317
commit
721fa8cf01
8
.github/workflows/publish-package-to-npm.yml
vendored
8
.github/workflows/publish-package-to-npm.yml
vendored
|
@ -4,13 +4,15 @@ on:
|
|||
release:
|
||||
types:
|
||||
- published
|
||||
env:
|
||||
GITHUB_LINK: "${{ github.server_url }}/${{ github.repository }}/releases/tag/${{ github.ref_name }}/"
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Checkout to target branch
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
# Pull submodules
|
||||
submodules: 'recursive'
|
||||
|
@ -48,7 +50,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Checkout to target branch
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Get package info
|
||||
id: package
|
||||
|
@ -58,6 +60,6 @@ jobs:
|
|||
uses: codex-team/action-codexbot-notify@v1
|
||||
with:
|
||||
webhook: ${{ secrets.CODEX_BOT_NOTIFY_EDITORJS_PUBLIC_CHAT }}
|
||||
message: '📦 [${{ steps.package.outputs.name }}](${{ steps.package.outputs.npmjs-link }}) ${{ steps.package.outputs.version }} was published'
|
||||
message: '📦 [${{ steps.package.outputs.name }}]($GITHUB_LINK) ${{ github.ref_name }} was published'
|
||||
parse_mode: 'markdown'
|
||||
disable_web_page_preview: true
|
||||
|
|
Loading…
Reference in a new issue