Skip to content

Commit

Permalink
[workflow] brought over the webhook from main page
Browse files Browse the repository at this point in the history
  • Loading branch information
NSPC911 committed Dec 14, 2024
1 parent 2e269c1 commit 6026a84
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,23 @@ jobs:
curl -X DELETE -H "Authorization: token ${{ secrets.BOT_TOKEN }}" \
https://api.github.com/repos/${{ github.repository }}/actions/artifacts/$artifact_id
- name: Get latest commit message
run: echo "latest_commit_message=$(git log -1 --pretty=%B)" >> $GITHUB_ENV

- name: Notify Discord
uses: sarisia/[email protected]
with:
webhook: ${{ secrets.LOG_HOOK }}
title: Page Deployed!
description: "Online at https://becomtweaks.github.io/resource-packs/"
title: ""
description: |
### [resource-packs:main](https://github.com/becomtweaks/resource-packs/tree/main) has new commits
[`${{ env.latest_commit_message }}`](https://github.com/BEComTweaks/resource-packs/commit/${{ github.sha }}) by ${{ github.actor }}
-# Online at https://becomtweaks.github.io/resource-packs
avatar_url: "https://avatars.githubusercontent.com/u/176916861?v=4"
username: "NSPBot911"
nodetail: true
notimestamp: true

update_server:
needs: format_repo
Expand Down

0 comments on commit 6026a84

Please sign in to comment.