Skip to content

Commit b53751d

Browse files
committed
docs.
1 parent efe9078 commit b53751d

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
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.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
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",

0 commit comments

Comments
 (0)