Skip to content

Commit 2343aad

Browse files
committed
Updating discord notifications.
1 parent 528d970 commit 2343aad

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,18 @@ jobs:
5050
tags: ${{ steps.meta.outputs.tags }}
5151
labels: ${{ steps.meta.outputs.labels }}
5252

53+
- name: Get Docker tag
54+
id: docker_tag
55+
run: |
56+
if [ "${{ github.ref }}" == "refs/heads/master" ]; then
57+
echo "tag=latest" >> $GITHUB_OUTPUT
58+
else
59+
echo "tag=${{ github.ref_name }}" >> $GITHUB_OUTPUT
60+
fi
61+
5362
- name: Actions for Discord
5463
uses: Ilshidur/action-discord@0.4.0
5564
env:
5665
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
5766
with:
58-
args: '{{ EVENT_PAYLOAD.repository.full_name }} Unraid/Docker image has been updated.'
67+
args: '{{ EVENT_PAYLOAD.repository.full_name }} Docker image updated: `${{ steps.docker_tag.outputs.tag }}`'

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
projectVersion=4.1.45
1+
projectVersion=4.1.46
22
org.gradle.configuration-cache=false

0 commit comments

Comments
 (0)