yari icon indicating copy to clipboard operation
yari copied to clipboard

fix(build): ignore GITHUB_REF in mdn/yari

Open caugner opened this issue 1 year ago • 0 comments

Summary

Problem

On stage, the "View this page on GitHub" links to the mdn/content repo always point to the next branch, even though the build used the main content branch, because the build system uses the GITHUB_REF environment variable.

Solution

Ignore the GITHUB_REF environment variable in mdn/yari.


How did you test this change?

Deployed to stage and tested that "View this page on GitHub" on https://developer.allizom.org/en-US/docs/Learn/HTML links to the right content branch (main).

caugner avatar Jul 02 '24 10:07 caugner