-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hi there, I'm looking to use environment variables in the content string. It seems as though it's unsupported.
Wondering if this could be a new feature?
Something along the lines of:
notify-success:
runs-on: ubuntu-latest
if: ${{ success() }}
steps:
- name: Discord Webhook Action
uses: tsickert/discord-webhook@v5.3.0
with:
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }}
content: "Build Succeeded: ${{GITHUB_REF_NAME}} - ${{GITHUB_RUN_ID}}"(These are default environment variables in GitHub Actions, so this is a valid job you can use to test right here).
sindre0830, milesstoetzner, antegral, Maximauve and yudikubota
Metadata
Metadata
Assignees
Labels
No labels