github-actions-discord-webhook
github-actions-discord-webhook copied to clipboard
Use env variables to form github urls.
There are standard environment variables for GitHub Actions that contains the URLs for the GitHub server and API endpoints. Using these environment variables makes no difference, but for example for Gitea which attempts to emulate GitHub Actions this change makes the URLs work.