Skip to content

Commit

Permalink
fix: allow notification on scheduled runs
Browse files Browse the repository at this point in the history
  • Loading branch information
leviem1 committed Sep 30, 2022
1 parent 0f9069c commit c5239ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
echo "RELEASE_ADDR=https://github.com/CrimsonWarpedcraft/plugin-template/releases/tag/${{ github.ref_name }}" >> $GITHUB_ENV
- name: Notify on success
if: needs.build.result == 'success' && needs.test.result == 'success' && (github.ref_name == 'main' || needs.release.result == 'success')
if: needs.build.result == 'success' && needs.test.result == 'success' && (needs.release.result == 'success' || github.event_name == 'schedule')
uses: appleboy/discord-action@0.0.3
with:
webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }}
Expand Down

0 comments on commit c5239ef

Please sign in to comment.