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