-
Notifications
You must be signed in to change notification settings - Fork 26
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
How to pass password to deploy.sh? #27
Comments
Hi @btimofeev . Since I connect to GitHub with SSH (see https://help.github.com/articles/connecting-to-github-with-ssh/) and I use keychain (see http://www.funtoo.org/Keychain), No password is required. If you pass passwords with shellscript you'd better use expect. |
Thank you for response. Keychain works, but maybe this will not work if you restart the computer and deploy the site without opening the terminal before that. I found some information on how to work with passwords at the bottom of this page, maybe this will help for future releases. |
Hi @btimofeev . |
@btimofeev
Do this once then git wont ask for credential ever again on the machine you typed this |
Hi @cescoferraro . |
Hello.
I have a blog on the github pages and I use this script for deployment:
In the script
git push
command prompts for a ssh password in the console, but easy-hugo not request a password and therefore no changes are made to the server.Is it possible to somehow request a password inside easy-hugo when deploying?
The text was updated successfully, but these errors were encountered: