diff --git a/.github/workflows/deploy-multiple-accounts.yml b/.github/workflows/deploy-multiple-accounts.yml index ebe6c0ff..603b2094 100644 --- a/.github/workflows/deploy-multiple-accounts.yml +++ b/.github/workflows/deploy-multiple-accounts.yml @@ -227,7 +227,8 @@ jobs: id: slack uses: slackapi/slack-github-action@v2.0.0 with: - channel-id: ${{ env.ASELO_DEPLOYS_CHANNEL_ID }} - slack-message: '`[SERVERLESS PARALLEL DEPLOYMENT]` Serverless helplines ${{ inputs.helplines }} successfully deployed to the following environments: ${{ inputs.environments }} from ${{ github.ref_type }} `${{ github.ref_name }}` requested by `${{ github.triggering_actor }}` with SHA ${{ github.sha }} :rocket:.' - env: - SLACK_BOT_TOKEN: ${{ env.GITHUB_ACTIONS_SLACK_BOT_TOKEN }} + method: chat.postMessage + token: ${{ env.GITHUB_ACTIONS_SLACK_BOT_TOKEN }} + payload: | + channel: ${{ env.ASELO_DEPLOYS_CHANNEL_ID }} + text: "`[SERVERLESS PARALLEL DEPLOYMENT]` Serverless helplines ${{ inputs.helplines }} successfully deployed to the following environments: ${{ inputs.environments }} from ${{ github.ref_type }} `${{ github.ref_name }}` requested by `${{ github.triggering_actor }}` with SHA ${{ github.sha }} :rocket:."