[7] update workflows

This commit is contained in:
meisnate12 2022-03-18 15:21:36 -04:00
parent b8cb84cff9
commit 1d3397e74b
6 changed files with 39 additions and 27 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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 }}
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

View file

@ -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

View file

@ -1 +1 @@
1.16.2-develop6
1.16.2-develop7