From 1d3397e74bff1acddbb2d91be3c0148512e1795f Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Fri, 18 Mar 2022 15:21:36 -0400 Subject: [PATCH] [7] update workflows --- .github/workflows/develop.yml | 14 ++++++++------ .github/workflows/latest.yml | 14 ++++++++------ .github/workflows/nightly.yml | 14 ++++++++------ .github/workflows/release.yml | 8 ++++++-- .github/workflows/version.yml | 14 ++++++++------ VERSION | 2 +- 6 files changed, 39 insertions(+), 27 deletions(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 7abb87af..717b713d 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -43,22 +43,24 @@ jobs: tags: ${{ secrets.DOCKER_HUB_USERNAME }}/plex-meta-manager:develop - name: Discord Success Notification - uses: sarisia/actions-status-discord@v1 + uses: meisnate12/discord-notifications@master if: success() with: - webhook: ${{ secrets.DISCORD_WEBHOOK }} - nodetail: true + webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} + webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} title: "Docker develop build: **Success**" + url: https://github.com/meisnate12/Plex-Meta-Manager/actions/runs/${{ github.run_id }} username: Docker avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/develop/.github/docker.png - name: Discord Failure Notification - uses: sarisia/actions-status-discord@v1 + uses: meisnate12/discord-notifications@master if: failure() with: - webhook: ${{ secrets.DISCORD_WEBHOOK }} - nodetail: true + webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} + webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} title: "Docker develop build: **Failure**" color: 0xe30c43 + url: https://github.com/meisnate12/Plex-Meta-Manager/actions/runs/${{ github.run_id }} username: Docker avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/develop/.github/docker.png diff --git a/.github/workflows/latest.yml b/.github/workflows/latest.yml index 0cb810cf..5a9cb123 100644 --- a/.github/workflows/latest.yml +++ b/.github/workflows/latest.yml @@ -39,22 +39,24 @@ jobs: tags: ${{ secrets.DOCKER_HUB_USERNAME }}/plex-meta-manager:latest - name: Discord Success Notification - uses: sarisia/actions-status-discord@v1 + uses: meisnate12/discord-notifications@master if: success() with: - webhook: ${{ secrets.DISCORD_WEBHOOK }} - nodetail: true + webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} + webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} title: "Docker latest build: **Success**" + url: https://github.com/meisnate12/Plex-Meta-Manager/actions/runs/${{ github.run_id }} username: Docker avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/docker.png - name: Discord Failure Notification - uses: sarisia/actions-status-discord@v1 + uses: meisnate12/discord-notifications@master if: failure() with: - webhook: ${{ secrets.DISCORD_WEBHOOK }} - nodetail: true + webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} + webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} title: "Docker latest build: **Failure**" color: 0xe30c43 + url: https://github.com/meisnate12/Plex-Meta-Manager/actions/runs/${{ github.run_id }} username: Docker avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/docker.png \ No newline at end of file diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index cadd6ceb..8fae6e61 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -43,22 +43,24 @@ jobs: tags: ${{ secrets.DOCKER_HUB_USERNAME }}/plex-meta-manager:nightly - name: Discord Success Notification - uses: sarisia/actions-status-discord@v1 + uses: meisnate12/discord-notifications@master if: success() with: - webhook: ${{ secrets.DISCORD_WEBHOOK }} - nodetail: true + webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} + webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} title: "Docker nightly build: **Success**" + url: https://github.com/meisnate12/Plex-Meta-Manager/actions/runs/${{ github.run_id }} username: Docker avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/nightly/.github/docker.png - name: Discord Failure Notification - uses: sarisia/actions-status-discord@v1 + uses: meisnate12/discord-notifications@master if: failure() with: - webhook: ${{ secrets.DISCORD_WEBHOOK }} - nodetail: true + webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} + webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} title: "Docker nightly build: **Failure**" color: 0xe30c43 + url: https://github.com/meisnate12/Plex-Meta-Manager/actions/runs/${{ github.run_id }} username: Docker avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/nightly/.github/docker.png diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 681cff27..13fd72ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,11 @@ jobs: steps: - name: Send Discord Release Notification - uses: nhevia/discord-styled-releases@main + uses: meisnate12/discord-notifications@master with: webhook_id: ${{ secrets.RELEASE_WEBHOOK_ID }} - webhook_token: ${{ secrets.RELEASE_WEBHOOK_TOKEN }} \ No newline at end of file + webhook_token: ${{ secrets.RELEASE_WEBHOOK_TOKEN }} + release: true + title: Plex Meta Manager Release VERSION + username: PMM Releases + avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/pmm.png \ No newline at end of file diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index abdf4dac..c38d9837 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -45,22 +45,24 @@ jobs: tags: ${{ secrets.DOCKER_HUB_USERNAME }}/plex-meta-manager:${{ steps.get_version.outputs.VERSION }} - name: Discord Success Notification - uses: sarisia/actions-status-discord@v1 + uses: meisnate12/discord-notifications@master if: success() with: - webhook: ${{ secrets.DISCORD_WEBHOOK }} - nodetail: true + webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} + webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} title: "Docker ${{ steps.get_version.outputs.VERSION }} build: **Success**" + url: https://github.com/meisnate12/Plex-Meta-Manager/actions/runs/${{ github.run_id }} username: Docker avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/docker.png - name: Discord Failure Notification - uses: sarisia/actions-status-discord@v1 + uses: meisnate12/discord-notifications@master if: failure() with: - webhook: ${{ secrets.DISCORD_WEBHOOK }} - nodetail: true + webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} + webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} title: "Docker ${{ steps.get_version.outputs.VERSION }} build: **Failure**" color: 0xe30c43 + url: https://github.com/meisnate12/Plex-Meta-Manager/actions/runs/${{ github.run_id }} username: Docker avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/docker.png diff --git a/VERSION b/VERSION index ebdf6ec2..ee442db2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.16.2-develop6 +1.16.2-develop7