Skip to content

Commit 8f51d52

Browse files
authored
Chore: Remove unused Discord notification from build workflow (#9)
1 parent 246e9de commit 8f51d52

File tree

1 file changed

+1
-32
lines changed

1 file changed

+1
-32
lines changed

.github/workflows/build_v3.yml

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -235,35 +235,4 @@ jobs:
235235
framework: ${{ needs.prepare.outputs.framework }}
236236
branch: ${{ github.ref_name }}
237237
major_version: ${{ needs.prepare.outputs.major_version }}
238-
version: ${{ needs.prepare.outputs.version }}
239-
240-
notify:
241-
name: Discord Notification
242-
needs:
243-
[
244-
prepare,
245-
backend,
246-
frontend,
247-
unit_test,
248-
unit_test_postgres,
249-
#integration_test,
250-
deploy,
251-
]
252-
if: ${{ !cancelled() && (github.ref_name == 'v3-develop-final' || github.ref_name == 'v3-main-final') }}
253-
env:
254-
STATUS: ${{ contains(needs.*.result, 'failure') && 'failure' || 'success' }}
255-
runs-on: ubuntu-latest
256-
257-
steps:
258-
- name: Notify
259-
uses: tsickert/discord-webhook@v6.0.0
260-
with:
261-
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }}
262-
username: "GitHub Actions"
263-
avatar-url: "https://assets-git.f3mw1.com/images/modules/logos_page/GitHub-Mark.png"
264-
embed-title: "${{ github.workflow }}: ${{ env.STATUS == 'success' && 'Success' || 'Failure' }}"
265-
embed-url: "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
266-
embed-description: |
267-
**Branch** ${{ github.ref }}
268-
**Build** ${{ needs.prepare.outputs.version }}
269-
embed-color: ${{ env.STATUS == 'success' && '3066993' || '15158332' }}
238+
version: ${{ needs.prepare.outputs.version }}

0 commit comments

Comments
 (0)