You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-23Lines changed: 2 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ npm start
54
54
## :outbox_tray: Deployment Instructions
55
55
*[For the PR reviewer only]*
56
56
57
-
Pushing updates to the website from the main branch is a 2-step process:
57
+
Pushing updates to the website from the main branch is a 1-step process:
58
58
1. Push ***source code*** to the main branch:
59
59
60
60
Run the following commands on the terminal to push updates to the main branch
@@ -64,28 +64,7 @@ Pushing updates to the website from the main branch is a 2-step process:
64
64
git push -f --set-upstream origin main
65
65
```
66
66
67
-
2. Deploy website to github pages: Push ***website build*** to the `deployed` branch:
68
-
69
-
Run the following commands on the terminal to deploy the code on the main branch
70
-
```
71
-
git checkout main
72
-
npm run deploy -- -m "Commit message"
73
-
```
74
-
This will automatically push the website *build* (instead of the source code) into the `deployed` branch already setup on Github. Github pages for this repository has been setup to display the build from the `deployed` branch.
75
-
76
-
The build steps are already set up in `package.json`:
77
-
```
78
-
{
79
-
"homepage": "https://brainhack-vandy.github.io",
80
-
...
81
-
"scripts": {
82
-
...
83
-
"predeploy": "npm run build",
84
-
"deploy": "gh-pages -b deployed -d build"
85
-
},
86
-
87
-
}
88
-
```
67
+
Changes pushed to the main branch will result in an automated deployment action that will update the website.
89
68
90
69
---
91
70
Design based on [@soumyajit4419/Porfolio](https://github.com/soumyajit4419/Portfolio) and [BrainHack Western](https://brainhackwestern.github.io/).
0 commit comments