Skip to content

Commit

Permalink
bug: Temporarily disable discord action notifier
Browse files Browse the repository at this point in the history
  • Loading branch information
rbasamoyai committed Jul 16, 2024
1 parent bdabaed commit 3f9cd3c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ jobs:
find . -regextype posix-extended -regex "\.\/($(tr "," "|" <<< ${{ steps.read_properties.outputs.enabled_platforms }}))\/build\/libs\/${{ steps.read_properties.outputs.mod_id }}-${{ steps.get_mod_version.outputs.version }}\+mc\.${{ steps.read_properties.outputs.minecraft_version }}-($(tr "," "|" <<< ${{ steps.read_properties.outputs.enabled_platforms }}))-build\.${{ github.run_number }}\.jar" >> $GITHUB_OUTPUT
echo "$EOF" >> $GITHUB_OUTPUT
- name: Send building message to discord
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
if: github.event_name == 'push' && env.DISCORD_WEBHOOK != ''
uses: realRobotix/action-discord-notifier@master
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
message-title: Building mod from branch ${{ steps.get_branch.outputs.branch }}
# - name: Send building message to discord
# env:
# DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
# if: github.event_name == 'push' && env.DISCORD_WEBHOOK != ''
# uses: realRobotix/action-discord-notifier@master
# with:
# webhook: ${{ secrets.DISCORD_WEBHOOK }}
# message-title: Building mod from branch ${{ steps.get_branch.outputs.branch }}

- name: Send built file to discord
env:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ jobs:
find . -regextype posix-extended -regex "\.\/($(tr "," "|" <<< ${{ steps.read_properties.outputs.enabled_platforms }}))\/build\/libs\/${{ steps.read_properties.outputs.mod_id }}-${{ steps.get_mod_version.outputs.version }}\+mc\.${{ steps.read_properties.outputs.minecraft_version }}-($(tr "," "|" <<< ${{ steps.read_properties.outputs.enabled_platforms }}))\.jar" >> $GITHUB_OUTPUT
echo "$EOF" >> $GITHUB_OUTPUT
- name: Send building message to discord
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
if: env.DISCORD_WEBHOOK != ''
uses: realRobotix/action-discord-notifier@master
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
message-title: Building mod from branch ${{ steps.get_branch.outputs.branch }}
# - name: Send building message to discord
# env:
# DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
# if: env.DISCORD_WEBHOOK != ''
# uses: realRobotix/action-discord-notifier@master
# with:
# webhook: ${{ secrets.DISCORD_WEBHOOK }}
# message-title: Building mod from branch ${{ steps.get_branch.outputs.branch }}

- name: Send built file to discord
env:
Expand Down

0 comments on commit 3f9cd3c

Please sign in to comment.