File tree Expand file tree Collapse file tree 6 files changed +17925
-3
lines changed
Expand file tree Collapse file tree 6 files changed +17925
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy React App
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ build-and-deploy :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v3
15+
16+ - name : Setup Node.js
17+ uses : actions/setup-node@v3
18+ with :
19+ node-version : ' 20'
20+
21+ - name : Install dependencies
22+ run : npm install
23+
24+ - name : Build the project
25+ run : npm run build
26+
27+ - name : Deploy to GitHub Pages
28+ uses : peaceiris/actions-gh-pages@v4
29+ with :
30+ github_token : ${{ secrets.GITHUB_TOKEN }}
31+ publish_dir : ./public
Original file line number Diff line number Diff line change 1+ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+ # dependencies
4+ /node_modules
5+ /.pnp
6+ .pnp.js
7+
8+ # testing
9+ /coverage
10+
11+ # production
12+ /build
13+
14+ # misc
15+ .DS_Store
16+ .env.local
17+ .env.development.local
18+ .env.test.local
19+ .env.production.local
20+
21+ npm-debug.log *
22+ yarn-debug.log *
23+ yarn-error.log *
Original file line number Diff line number Diff line change 22A repo to host personal cheat sheet page
33
44```
5- npm install fuse.js lucide-react
6- npm install framer-motion
7- ```
5+ npm install fuse.js lucide-react framer-motion
6+ ```
You can’t perform that action at this time.
0 commit comments