Skip to content

Commit

Permalink
⏪ undo workflow merge
Browse files Browse the repository at this point in the history
  • Loading branch information
SerenModz21 committed Aug 1, 2022
1 parent a3e46d6 commit 7e011ac
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 17 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/discord.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: discord
on:
workflow_dispatch:
release:
types: [released]

jobs:
discord:
runs-on: ubuntu-latest
steps:
- name: Send discord message
uses: appleboy/discord-action@master
with:
webhook_id: ${{ secrets.WEBHOOK_ID }}
webhook_token: ${{ secrets.WEBHOOK_TOKEN }}
message: |
Kings World **${{ github.ref_name }}** has been released!
**Modrinth**:
<https://modrinth.com/mod/kings-world/version/${{ github.ref_name }}>
**GitHub**:
<https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }}>
17 changes: 0 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,3 @@ jobs:
GITHUB_OWNER: ${{ github.repository_owner }}
GITHUB_REPO: ${{ github.event.repository.name }}
GITHUB_REF_NAME: ${{ github.ref_name }}

discord:
runs-on: ubuntu-latest
steps:
- name: Send discord message
uses: appleboy/discord-action@master
with:
webhook_id: ${{ secrets.WEBHOOK_ID }}
webhook_token: ${{ secrets.WEBHOOK_TOKEN }}
message: |
Kings World **${{ github.ref_name }}** has been released!
**Modrinth**:
<https://modrinth.com/mod/kings-world/version/${{ github.ref_name }}>
**GitHub**:
<https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }}>

0 comments on commit 7e011ac

Please sign in to comment.