Skip to content

Commit

Permalink
prep
Browse files Browse the repository at this point in the history
  • Loading branch information
robertaandersen committed Feb 6, 2025
1 parent b223cc4 commit edfae61
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
runs-on: ubuntu-latest
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
steps:
- name: Get git branch
run: |
Expand All @@ -29,9 +28,11 @@ jobs:
- name: Post text to a Slack channel
uses: slackapi/slack-github-action@v2.0.0
env:
SLACK_CHANNEL_ID: ${{ secrets.SLACK_CHANNEL_ID }}
with:
method: chat.postMessage
token: ${{ secrets.SLACK_BOT_TOKEN }}
payload: |
channel: ${{ secrets.SLACK_CHANNEL_ID }}
channel: $SLACK_CHANNEL_ID
text: "howdy <@channel>!"

0 comments on commit edfae61

Please sign in to comment.