diff --git a/.github/workflows/one-click-hosting-release.yml b/.github/workflows/one-click-hosting-release.yml index 6e72d09fad1..f2e5b2e2414 100644 --- a/.github/workflows/one-click-hosting-release.yml +++ b/.github/workflows/one-click-hosting-release.yml @@ -88,11 +88,13 @@ jobs: # Will be removed once we see that the release is working prerelease: ${{ github.event.inputs.pre_release }} body_path: ${{ env.CHANGELOG_FILE }} + - name: Get Json + run: | + "PAYLOAD=$(cat ./.github/scripts/slack-channel-cloud-message.json)" >> $GITHUB_ENV - name: Post To Slack Created Cloud one click Release if: ${{ github.event.inputs.pre_release }} == false uses : ./.github/workflows/post-to-slack with: SLACK_BOT_TOKEN: ${{ secrets.SLACK_TOKEN }} SLACK_TAG_CHANNELS: ${{ secrets.SLACK_CHANNEL_RELEASE }} - PAYLOAD: | - echo "$(cat ./.github/scripts/slack-channel-cloud-message.json)" + PAYLOAD: ${{ env.PAYLOAD }}