Skip to content

feat(deploy): add custom-domain support for gh-pages deployment (#1781) #3391

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

Closed
wants to merge 2 commits into from
Closed

feat(deploy): add custom-domain support for gh-pages deployment (#1781) #3391

wants to merge 2 commits into from

Conversation

austingreendev
Copy link
Contributor

feature for (#1781)

This PR adds the new --custom-domain flag to the github-pages:deploy command to create a CNAME file to support Github Pages custom domains.

I am looking for some guidance on the testing for this since github-pages-deploy.spec.js doesn't contain any logic/acceptance criteria to ensure that certain files are created. It is only checking
git related commands and http requests.

Currently the similar method createNotFoundPage() is not tested either. Either way, all tests and linting pass. I also have some spare domains and tested that Github's DNS picks the CNAME up with a new branch correctly.

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.

Creates CNAME file if --custom-domain flag is provided.

addresses (#1781)

This commit
@googlebot
Copy link

CLAs look good, thanks!

@googlebot googlebot added cla: yes and removed cla: no labels Dec 5, 2016
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants