Skip to content

Commit

Permalink
other: #189 🔹 notify deployment (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
ubugeeei authored Dec 29, 2023
1 parent abe055e commit 41409f8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,11 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

notify:
runs-on: ubuntu-latest
needs: deploy
steps:
- name: notify
run: |
curl -H 'Content-Type:application/json' "${{secrets.DISCORD_WEBHOOK_URL}}" -d '{"content": "Deployed Online Book!\n ${{ github.event.repository.url }}/actions/runs/${{ github.run_id }}"}'

0 comments on commit 41409f8

Please sign in to comment.