Skip to content

Commit

Permalink
add notification to discord
Browse files Browse the repository at this point in the history
  • Loading branch information
halsk committed Dec 16, 2023
1 parent 4751c26 commit dae2c05
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/astro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ jobs:
uses: actions/upload-pages-artifact@v2
with:
path: ${{ env.BUILD_PATH }}/dist

deploy:
environment:
name: github-pages
Expand All @@ -86,3 +85,9 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
- name: Discord notification
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: "The project {{ EVENT_PAYLOAD.repository.full_name }} has been deployed."

0 comments on commit dae2c05

Please sign in to comment.