Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(build): ignore GITHUB_REF in mdn/yari #11398

Merged
merged 1 commit into from
Jul 12, 2024
Merged

Conversation

caugner
Copy link
Contributor

@caugner caugner commented Jul 2, 2024

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 caugner requested a review from a team as a code owner July 2, 2024 10:10
@caugner caugner merged commit 21d7dc1 into main Jul 12, 2024
12 checks passed
@caugner caugner deleted the ignore-github-ref-in-yari branch July 12, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants