bcgov / workforce-profile-tool

Workforce Profile tool
Apache License 2.0
5 stars 3 forks source link

Add latest commit version to output file #165

Closed hangler closed 3 years ago

hangler commented 3 years ago

Testing to see if the functionality suggested by @robinwn actually works!

robinwn commented 3 years ago

@hangler @karmour , I ended up adding 'REACT_APP_GIT_SHA=${GITHUB_SHA::6}' just prior to the 'yarn build' in the github action and now the short sha is showing up nicely at the bottom of the front page

hangler commented 3 years ago

@robin Thanks, I noticed it didn't get outputted using the command I had (though it does on a development machine) and you supplied exactly the missing piece!

@karmour FYI, it looks like this:

Screen Shot 2021-05-06 at 5 16 21 PM

The text is intentionally very light but it's easy to copy-and-paste as needed.