Skip to content

Tidy up solution

Tidy up solution #115

name: Post notification to Slack
on: push
#on: [push, workflow_dispatch]
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Post notification
run: |
curl --data '{"text": "Så har bøffen sgu committed: ${{ github.event.head_commit.message }} -- https://github.com/snhansen/adventofcode/commit/${{ github.event.head_commit.id }}"}' -H "Content-type: application/json" ${{ secrets.SLACK_WEBHOOK_URL }}