From e66793511fc254665dee7ad7ffee1af7a5988e64 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Tue, 3 May 2022 14:56:06 -0400 Subject: [PATCH] [60] send discord messages once builds are finished --- .github/workflows/develop.yml | 22 +++++++++++----------- .github/workflows/nightly.yml | 24 +++++++++++------------- VERSION | 2 +- 3 files changed, 23 insertions(+), 25 deletions(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 18dfcdff..3acb14c2 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -12,17 +12,6 @@ jobs: runs-on: ubuntu-latest steps: - - name: Send Discord Commit Notification - uses: meisnate12/discord-notifications@master - with: - webhook_id: ${{ secrets.DEVELOP_WEBHOOK_ID }} - webhook_token: ${{ secrets.DEVELOP_WEBHOOK_TOKEN }} - title: Plex Meta Manager Develop Commits - message: "<@&954835263731949623>" - commits: "true" - username: Metabot - avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/develop/.github/pmm.png - - name: Check Out Repo uses: actions/checkout@v3 with: @@ -53,6 +42,17 @@ jobs: push: true tags: ${{ secrets.DOCKER_HUB_USERNAME }}/plex-meta-manager:develop + - name: Send Discord Commit Notification + uses: meisnate12/discord-notifications@master + with: + webhook_id: ${{ secrets.DEVELOP_WEBHOOK_ID }} + webhook_token: ${{ secrets.DEVELOP_WEBHOOK_TOKEN }} + title: Plex Meta Manager Develop Commits + message: "<@&954835263731949623>" + commits: "true" + username: Metabot + avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/develop/.github/pmm.png + - name: Discord Success Notification uses: meisnate12/discord-notifications@master if: success() diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 1fb5298a..391dd3a0 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -12,19 +12,6 @@ jobs: runs-on: ubuntu-latest steps: - - name: Send Discord Commit Notification - uses: meisnate12/discord-notifications@master - with: - webhook_id: ${{ secrets.NIGHTLY_WEBHOOK_ID }} - webhook_token: ${{ secrets.NIGHTLY_WEBHOOK_TOKEN }} - title: Nightly Commits - message: "<@&967002147520675840>" - commits: "true" - username: Metabot - avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/nightly/.github/pmm.png - author: Github - author_icon_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/nightly/.github/git.png - - name: Check Out Repo uses: actions/checkout@v3 with: @@ -55,6 +42,17 @@ jobs: push: true tags: ${{ secrets.DOCKER_HUB_USERNAME }}/plex-meta-manager:nightly + - name: Send Discord Commit Notification + uses: meisnate12/discord-notifications@master + with: + webhook_id: ${{ secrets.NIGHTLY_WEBHOOK_ID }} + webhook_token: ${{ secrets.NIGHTLY_WEBHOOK_TOKEN }} + title: Nightly Commits + message: "<@&967002147520675840>" + commits: "true" + username: Metabot + avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/nightly/.github/pmm.png + - name: Discord Success Notification uses: meisnate12/discord-notifications@master if: success() diff --git a/VERSION b/VERSION index 3505bf84..f7ce55d3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.16.5-develop59 +1.16.5-develop60