File tree Expand file tree Collapse file tree 2 files changed +40
-2
lines changed Expand file tree Collapse file tree 2 files changed +40
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy to Github Pages
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ paths :
8+ - " frontend/**"
9+ - " .github/workflows/deploy-gh-pages.yaml"
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+ permissions :
15+ contents : write
16+
17+ steps :
18+ - name : Checkout code
19+ uses : actions/checkout@v4
20+
21+ - name : Set up Node.js
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version : 22.2.0
25+
26+ - name : Install dependencies
27+ run : |
28+ cd frontend
29+ npm install
30+
31+ - name : Build the application
32+ run : |
33+ cd frontend
34+ npm run build
35+
36+ - name : Deploy
37+ uses : JamesIves/github-pages-deploy-action@v4
38+ with :
39+ folder : ./frontend/dist
Original file line number Diff line number Diff line change 11VITE_BACKEND_URL = https://maintos-server.metakgp.org
2- VITE_MAX_UPLOAD_LIMIT = 10
3- VITE_GH_OAUTH_CLIENT_ID =
2+ VITE_GH_OAUTH_CLIENT_ID = Ov23liSSsyTFMsm1CT09
You can’t perform that action at this time.
0 commit comments