From c82910171287952285ad6e620ad3c61b0a97641f Mon Sep 17 00:00:00 2001 From: Bagus Nur Listiyono <28079733+bagusnl@users.noreply.github.com> Date: Fri, 13 Oct 2023 19:24:28 +0700 Subject: [PATCH] [skipci] Update build.yml - Disable Transifex PR trigger - Added back Discord notification with sarisia/action-status-discord and nightly.link --- .github/workflows/build.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fdfb9ca55..67bee7edc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,8 @@ on: push: branches: [ "main" ] pull_request: - branches: [ "main" ] + branches-ignore: + - 'translations_**' # schedule: # - cron: '0 0 * * 0' # At 00:00 on Sunday @@ -76,3 +77,15 @@ jobs: with: name: collapse_${{ matrix.platform }}-${{ matrix.configuration }}_${{ matrix.framework }}_${{ github.sha }} path: ./CollapseLauncher/preview-build/ + + - name: Notify Discord + uses: sarisia/actions-status-discord@latest + if: always() + continue-on-error: true + with: + webhook: ${{ secrets.DISCORD_WEBHOOK_NIGHTLY }} + title: New canary build is ready! + status: ${{ job.status }} + description: | + Commit `${{ github.sha }}` by ${{ github.actor }} + Click [here](https://nightly.link/quassel/quassel/actions/runs/${{ github.run_id }}) to download!