File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 1- # Fezcode
1+ # Fezcode
2+
3+ ## Deployment to GitHub Pages
4+
5+ To deploy updates to GitHub Pages after each commit, follow these steps:
6+
7+ 1 . ** Commit your changes** : Ensure all your desired changes are committed to your main branch (e.g., ` main ` or ` master ` ).
8+ 2 . ** Run the deploy script** : Execute the following command in your terminal:
9+ ``` bash
10+ npm run deploy
11+ ```
12+ This script will:
13+ * Build your React application for production.
14+ * Push the built files to the ` gh-pages` branch of your repository.
15+
16+ After the script completes, your updated application should be live at ` https://fezcode.github.io` within a few minutes.
Original file line number Diff line number Diff line change 22 "name" : " my-blog" ,
33 "version" : " 0.1.0" ,
44 "private" : true ,
5+ "homepage" : " https://fezcode.github.io" ,
56 "dependencies" : {
67 "@testing-library/dom" : " ^10.4.1" ,
78 "@testing-library/jest-dom" : " ^6.9.1" ,
You can’t perform that action at this time.
0 commit comments