This community-built FAQ covers the “Deploy Your Site” exercise from the lesson “Deploy Your Website to GitHub Pages”.
Paths and Courses
This exercise can be found in the following Codecademy content:
Deploy a Website
FAQs on the exercise Deploy Your Site
There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply () below.
If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.
Join the Discussion. Help a fellow learner on their journey.
Ask or answer a question about this exercise by clicking reply () below!
Agree with a comment or answer? Like () to up-vote the contribution!
Need broader help or resources? Head here.
Looking for motivation to keep learning? Join our wider discussions.
Learn more about how to use this guide.
Found a bug? Report it!
Have a question about your account or billing? Reach out to our customer support team!
None of the above? Find out where to ask other questions here!
Dear Friend, I got problem here with two factor auth. I enabled but same problem… $ git push -u origin master
I am trying to access my git account from the command line, but I get a token expiration error. I found on google the following explanation of how to create a token
The problem is that I still can’t log in even with my new token. Are there any commands to follow?
Hi, I have a question about this step.
In the terminal, push the contents of your site to your repo. You can use the example above to help you.
Wait until the terminal stops outputting information. Once the terminal has stopped, continue to the next exercise.
Note: You will be prompted to enter your GitHub credentials before you can push (i.e. username and password).
As you input your password, you’ll notice that no text will be visible as you type — this is how all terminals work (as an added security measure). Be aware that although your password is not visible, the terminal is still accepting your input. Simply hit “Enter” on your keyboard after you are done typing your invisible password. If you typed it incorrectly, simply try again.
Finally, if you have two-factor authentication enabled for your GitHub account, this exercise will not pass for you. In that case, check out this resource.
I don’t know how to address the new two-factor authentication in this step. Is there anyone who knows how to fix it? Thanks a lot!