... | ... | @@ -44,7 +44,7 @@ The guide will help you develop websites and host it on to github using Docusaur |
|
|
- Edit and make changes to these files in any text editor of your choice.
|
|
|
![docusaurus-folder](upload/Selection_020.png)
|
|
|
|
|
|
13. Uploading website to Github.
|
|
|
13. Uploading website to Github.
|
|
|
- Configure your website for Github, You need to these changes to your `docusaurus.config.js`
|
|
|
```js
|
|
|
...
|
... | ... | @@ -67,8 +67,8 @@ The guide will help you develop websites and host it on to github using Docusaur |
|
|
...
|
|
|
```
|
|
|
- To upload the website to github run command.
|
|
|
```sh
|
|
|
git config --global user.email "{your-email-id}"
|
|
|
git config --global user.name "{Your-name}"
|
|
|
GIT_USER={your-git-username} yarn deploy
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
```sh
|
|
|
git config --global user.email "{your-email-id}"
|
|
|
git config --global user.name "{Your-name}"
|
|
|
GIT_USER={your-git-username} yarn deploy
|
|
|
``` |
|
|
\ No newline at end of file |