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

feat(v2): Added the ability to specify GIT_PASS in deploy command (for CI purposes) #3694

Merged
merged 4 commits into from
Nov 9, 2020

Conversation

smcelhinney
Copy link
Contributor

@smcelhinney smcelhinney commented Nov 5, 2020

Motivation

We use CI to automatically deploy changes to docs. The current deploy command requires interactive password entry when no credential helper is set.

Also, tidied up some variable declarations for readability.

Have you read the Contributing Guidelines on pull requests?

I certainly have - I've contributed before.

Related PRs

None.

@docusaurus-bot
Copy link
Contributor

docusaurus-bot commented Nov 5, 2020

Deploy preview for docusaurus-2 ready!

Built without sensitive environment variables with commit e84a733

https://deploy-preview-3694--docusaurus-2.netlify.app

@facebook-github-bot
Copy link
Contributor

Hi @smcelhinney!

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file.

In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Nov 5, 2020
@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@slorber
Copy link
Collaborator

slorber commented Nov 5, 2020

thanks, that looks fine

can you add some documentation about it?

@smcelhinney
Copy link
Contributor Author

can you add some documentation about it?

Sure thing, done! Hope that's sufficient. I didn't add examples as it's an optional parameter, and didn't want to confuse users.

@slorber
Copy link
Collaborator

slorber commented Nov 9, 2020

LGTM :)

@slorber slorber changed the title Added the ability to specify GIT_PASS in deploy command (for CI purposes) feat(v2): Added the ability to specify GIT_PASS in deploy command (for CI purposes) Nov 9, 2020
@slorber slorber added the pr: new feature This PR adds a new API or behavior. label Nov 9, 2020
@slorber slorber merged commit 9309594 into facebook:master Nov 9, 2020
@lex111 lex111 added this to the v2.0.0-alpha.67 milestone Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: new feature This PR adds a new API or behavior.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants