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 9185a2f commit 7f36112
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,9 @@ jobs:
with:
name: Gunshell
path: ./build/libs/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

- name: sends the jarfile to the discord
uses: sinshutu/upload-to-discord@master
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
with:
args: ./target/Gunshell-*.jar

0 comments on commit 7f36112

Please sign in to comment.