Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this PR is made by mistake #663

Closed
wants to merge 16 commits into from
Prev Previous commit
Next Next commit
add discord notify
  • Loading branch information
dodolia907 committed Dec 1, 2024
commit 2b9196c5d305a5f77b84c01ea0256480c025f67a
10 changes: 9 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,12 @@ jobs:
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy out --project-name blog
command: pages deploy out --project-name blog
- name: Notify Discord
run: |
curl -H "Content-Type: application/json" \
-X POST \
-d '{
"content": "デプロイ完了! https://blog.technotut.net/"
}' \
${{ secrets.DISCORD_WEBHOOK_URL }}