diff --git a/README.md b/README.md index 3814d14..51f4b18 100644 --- a/README.md +++ b/README.md @@ -136,13 +136,23 @@ Clone this repository to your desired folder: npx stylelint "**/*.{css,scss}" npx stylelint "**/*.{css,scss}" --fix +### Deployment +- 1- install `'gh-pages'` with following command: + npm i -D gh-pages -### Deployment -- You can deploy this project using: +- 2- Add `'homepage'` to project's jason file: - npm run build - gh-pages -d build + "homepage": "https://ab-noori.github.oi/repo-name", + +- 3- Add the following scripts to project's jason file: + + "predeploy": "npm run build", + "deploy": "gh-pages -d build " + +- 4- Finally run the following command: + + npm run deploy

(back to top)