Skip to content

Commit

Permalink
Update maven-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jazzkuh authored May 22, 2024
1 parent 2e54c39 commit 9185a2f
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,20 @@ jobs:
with:
name: Gunshell
path: ./build/libs/Gunshell-*.jar
- name: sends the jarfile to the discord
uses: sinshutu/upload-to-discord@master
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
with:
args: ./target/Gunshell-*.jar
github-releases-to-discord:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Github Releases To Discord
uses: SethCohen/[email protected]
with:
webhook_url: ${{ secrets.DISCORD_WEBHOOK }}
color: "2105893"
username: "Release Changelog"
avatar_url: "https://cdn.discordapp.com/avatars/852255635621412885/277a504b316200ac50b25255db86b432.png?size=2048"
content: "@everyone"
footer_title: "Changelog"
footer_icon_url: "https://cdn.discordapp.com/avatars/852255635621412885/277a504b316200ac50b25255db86b432.png?size=2048"
footer_timestamp: true

0 comments on commit 9185a2f

Please sign in to comment.