alphagov / smart-answers

Serves smart answers on GOV.UK
https://docs.publishing.service.gov.uk/apps/smart-answers.html
MIT License
176 stars 120 forks source link

Fix reference to tag name in deploy workflow #6627

Closed theseanything closed 11 months ago

theseanything commented 11 months ago

There is a known bug in GitHub Actions that github.ref_name to not be populated when the workflow was triggered due to a release tag. This uses an alternative field to reference the release tag value. This fixes intermittent failures in running the deploy workflow.