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

Netlify: set Hugo's baseURL to the DEPLOY_PRIME_URL variable #30214

Merged
merged 1 commit into from
Feb 22, 2020

Conversation

XhmikosR
Copy link
Member

@XhmikosR XhmikosR commented Feb 17, 2020

So, this will allow each branch/preview to have its own base URL instead of the default one of the main site (getbootstrap.com).

It shouldn't affect anything in theory, since on Netlify's robots.txt has indexing blocked.

Ideally, we should backport this to v4-dev, but I'm not sure how easy it'll be, if at all possible. I will look into backporting it when I have some time.

Refs #29949

Preview: https://deploy-preview-30214--twbs-bootstrap.netlify.com/

@XhmikosR XhmikosR added this to Inbox in v5 via automation Feb 17, 2020
v5 automation moved this from Inbox to Approved Feb 21, 2020
@XhmikosR XhmikosR merged commit 90f5dba into master Feb 22, 2020
v5 automation moved this from Approved to Shipped Feb 22, 2020
@XhmikosR XhmikosR deleted the master-xmr-netlify-url branch February 22, 2020 07:15
olsza pushed a commit to olsza/bootstrap that referenced this pull request Oct 3, 2020
…s#30214)

This will allow each branch/preview to have its own base URL instead of the default one of the main site (getbootstrap.com).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
v5
  
Shipped
Development

Successfully merging this pull request may close these issues.

None yet

2 participants