Skip to content

Commit

Permalink
supress slack
Browse files Browse the repository at this point in the history
  • Loading branch information
mythilytm committed Jul 24, 2024
1 parent e93bde1 commit 795d990
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/actions/main-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,16 +174,16 @@ runs:
working-directory: ${{ github.action_path }}
shell: bash

# Send Slack notifying success
- name: Slack Aselo channel
id: slack-parallel
uses: slackapi/slack-github-action@v1.14.0
if: ${{ inputs.send-slack-message != 'false' }}
with:
channel-id: ${{ env.ASELO_DEPLOYS_CHANNEL_ID }}
slack-message: "`[Serverless]` Deployment to `${{ env.helpline-name }}` from ${{ github.ref_type }} `${{ github.ref_name }}` requested by `${{ github.triggering_actor }}` completed using workflow '${{ github.workflow }}' with SHA ${{ github.sha }} :rocket:."
env:
SLACK_BOT_TOKEN: ${{ env.GITHUB_ACTIONS_SLACK_BOT_TOKEN }}
# # Send Slack notifying success
# - name: Slack Aselo channel
# id: slack-parallel
# uses: slackapi/slack-github-action@v1.14.0
# if: ${{ inputs.send-slack-message != 'false' }}
# with:
# channel-id: ${{ env.ASELO_DEPLOYS_CHANNEL_ID }}
# slack-message: "`[Serverless]` Deployment to `${{ env.helpline-name }}` from ${{ github.ref_type }} `${{ github.ref_name }}` requested by `${{ github.triggering_actor }}` completed using workflow '${{ github.workflow }}' with SHA ${{ github.sha }} :rocket:."
# env:
# SLACK_BOT_TOKEN: ${{ env.GITHUB_ACTIONS_SLACK_BOT_TOKEN }}
# Update Google Sheets
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 795d990

Please sign in to comment.