Add solution to 2023-12-05 #156
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Post notification to Slack | |
on: push | |
jobs: | |
notify: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Post notification | |
run: | | |
curl --data '{"text": "Så har pred sgu committed: ${{ github.event.head_commit.message }} -- https://github.com/fuglede/adventofcode/commit/${{ github.event.head_commit.id }}"}' -H "Content-type: application/json" ${{ secrets.SLACK_WEBHOOK_URL }} |