Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpolman committed May 21, 2024
1 parent a1aea1b commit 04e6227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
ref: ${{ github.ref }}

- name: Set DISCORD_WEBHOOK based on branch
run: echo "DISCORD_WEBHOOK=${{ secrets['DISCORD_WEBHOOK_' }}${{ github.ref == 'refs/heads/develop' && 'DEV' || github.ref == 'refs/heads/main' && 'PROD' }}" >> $GITHUB_ENV
run: echo "DISCORD_WEBHOOK=${{ secrets[${{ github.ref == 'refs/heads/develop' && 'DISCORD_WEBHOOK_DEV' || github.ref == 'refs/heads/main' && 'DISCORD_WEBHOOK_PROD' }}] }}" >> $GITHUB_ENV

- name: Send message
env:
Expand Down

0 comments on commit 04e6227

Please sign in to comment.