forked from mirrors/qmk_userspace
Add Discord webhook at end of each CI run. (#20355)
This commit is contained in:
parent
4ba3fdfad2
commit
2e766a9c7a
4 changed files with 61 additions and 3 deletions
12
.github/workflows/ci_builds.yml
vendored
12
.github/workflows/ci_builds.yml
vendored
|
@ -10,12 +10,11 @@ on:
|
|||
|
||||
jobs:
|
||||
ci_builds:
|
||||
if: github.repository == 'qmk/qmk_firmware'
|
||||
name: "CI Build"
|
||||
runs-on: self-hosted
|
||||
timeout-minutes: 1380
|
||||
|
||||
if: github.repository == 'qmk/qmk_firmware'
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
@ -58,3 +57,12 @@ jobs:
|
|||
*.hex
|
||||
*.uf2
|
||||
.build/failed.*
|
||||
|
||||
- name: 'CI Discord Notification'
|
||||
if: always()
|
||||
working-directory: util/ci/
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.CI_DISCORD_WEBHOOK }}
|
||||
run: |
|
||||
python3 -m pip install -r requirements.txt
|
||||
python3 ./discord-results.py --branch ${{ matrix.branch }} --keymap ${{ matrix.keymap }} --url ${{ env.GITHUB_SERVER_URL }}/${{ env.GITHUB_REPOSITORY }}/actions/runs/${{ env.GITHUB_RUN_ID }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue