-
Install and save the 'gh-pages' dependency in directory using
- npm install gh-pages --save-dev
-
Create a new branch with name "gh-page" (Automatic)
-
Add "homepage": "https://{myusername}.github.io/{repo-name}"
- userName: ujjwalpandeyjava
- repo-name: Portfolio0
In project’s 'package.json' above "name" as 1st line.
-
Add 1. "predeploy": "npm run build", 2. "deploy": "gh-pages -d build", in package.json's "scripts" first line.
-
Change the branch to gh-pages and upload all the files.
-
Run "npm run deploy" in terminal/cmd of local pc 1st time while uploading.
-
Done.
-
Notifications
You must be signed in to change notification settings - Fork 0
Ujjwal Pandey Portfolio, with all the required professional details.
ujjwalpandeyjava/Ujjwal-Portfolio
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Ujjwal Pandey Portfolio, with all the required professional details.
Topics
Resources
Stars
Watchers
Forks
Packages 0
No packages published