Skip to content

Commit 50ae1f7

Browse files
Redbu11devRedbu11
authored and
Redbu11
committed
Update cmangos-windows-build.yml
1 parent f8e9fa2 commit 50ae1f7

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

.github/workflows/cmangos-windows-build.yml

-30
Original file line numberDiff line numberDiff line change
@@ -74,33 +74,3 @@ jobs:
7474
with:
7575
name: ${{matrix.version}}-snapshot
7676
path: "${{env.BUILD_DIR}}/bin/${{env.ARCHIVE_FILENAME}}"
77-
78-
notify:
79-
name: Send Notification to Discord on Failure
80-
runs-on: ubuntu-20.04
81-
permissions:
82-
contents: none
83-
needs: # make sure the notification is sent AFTER the jobs you want included have completed
84-
- build
85-
if: failure()
86-
87-
steps:
88-
- name: Setup Environmental Variables
89-
run: |
90-
echo "GIT_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
91-
echo "GIT_SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
92-
93-
- name: Notify
94-
uses: rjstone/[email protected]
95-
with:
96-
severity: error
97-
description: |
98-
**Windows Build Failed**
99-
details: |
100-
- **Branch:** ${{env.GIT_BRANCH}}
101-
- **Pusher:** ${{github.event.pusher.name}}
102-
- **Author:** ${{github.event.head_commit.author.name}}
103-
- **Commit:** [${{github.repository}}/${{env.GIT_SHORT_SHA}}](${{github.server_url}}/${{ github.repository }}/commit/${{github.sha}})
104-
- **Build Log:** [actions/runs/${{github.run_id}}](${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}})
105-
footer: CMaNGOS Developers Notified!
106-
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}

0 commit comments

Comments
 (0)