Skip to content

[Gold IV] Title: 도시 분할 계획, Time: 360 ms, Memory: 20976 KB -BaekjoonHub #109

[Gold IV] Title: 도시 분할 계획, Time: 360 ms, Memory: 20976 KB -BaekjoonHub

[Gold IV] Title: 도시 분할 계획, Time: 360 ms, Memory: 20976 KB -BaekjoonHub #109

Workflow file for this run

name: 'Discord Alarm'
on: push
jobs:
webhook:
name: 'WEBHOOK'
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v3
- name: pwd
id: message
shell: bash
run: |
echo "STEP_VALUE=$(git log --pretty=format:"%s" -1)" >> $GITHUB_OUTPUT
- name: Send a message to Discord
shell: bash
run: |
curl -X POST https://discord.com/api/webhooks/${{ secrets.WEBHOOK_ID }}/${{ secrets.WEBHOOK_TOKEN }} \
-H 'Content-type: application/json' \
-d '{
"content": "${{ steps.message.outputs.STEP_VALUE }}"
}'