diff --git a/.github/workflows/publish-package-to-npm.yml b/.github/workflows/publish-package-to-npm.yml index ae926224..41d5131e 100644 --- a/.github/workflows/publish-package-to-npm.yml +++ b/.github/workflows/publish-package-to-npm.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: # Checkout to target branch - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: # Pull submodules submodules: 'recursive' @@ -46,9 +46,11 @@ jobs: notify: needs: publish runs-on: ubuntu-latest + env: + GITHUB_LINK: ${{ github.server_url }}/${{ github.repository }}/releases/tag/${{ github.ref_name }} 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 }} ${{ steps.package.outputs.version }}](${{ env.GITHUB_LINK }}) was published' parse_mode: 'markdown' - disable_web_page_preview: true + disable_web_page_preview: true \ No newline at end of file