testing the notification prpoperly
@@ -166,11 +166,12 @@ jobs:
notify-discord:
runs-on: ubuntu-latest
if: ${{ github.event.action == 'created' }}
- needs: [ release-artifacts ]
+ # needs: [ release-artifacts ]
steps:
- name: Discord notification
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
+ NAME: ${{github.event.release.full_name}}
uses: Ilshidur/action-discord@0.3.0
with:
- args: 'New DOME Release "{{ github.event.release.full_name }}" is now available for download!'
+ args: 'New DOME Release "{{NAME}}" is now available for download!'
