File tree Expand file tree Collapse file tree 6 files changed +3158
-2
lines changed Expand file tree Collapse file tree 6 files changed +3158
-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 : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ permissions :
10+ contents : read
11+ pages : write
12+ id-token : write
13+
14+ concurrency :
15+ group : " pages"
16+ cancel-in-progress : false
17+
18+ jobs :
19+ build :
20+ runs-on : ubuntu-latest
21+ steps :
22+ - name : Checkout
23+ uses : actions/checkout@v4
24+
25+ - name : Setup Node.js
26+ uses : actions/setup-node@v4
27+ with :
28+ node-version : ' 20'
29+ cache : ' npm'
30+
31+ - name : Install dependencies
32+ run : npm ci
33+
34+ - name : Build
35+ run : npm run build
36+
37+ - name : Setup Pages
38+ uses : actions/configure-pages@v4
39+
40+ - name : Upload artifact
41+ uses : actions/upload-pages-artifact@v3
42+ with :
43+ path : ' ./dist'
44+
45+ deploy :
46+ environment :
47+ name : github-pages
48+ url : ${{ steps.deployment.outputs.page_url }}
49+ runs-on : ubuntu-latest
50+ needs : build
51+ steps :
52+ - name : Deploy to GitHub Pages
53+ id : deployment
54+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1+ node_modules /
2+ .DS_Store
3+ * .log
4+ dist /
5+ build /
6+ .env
7+ .env.local
8+ .env.production
9+ .vscode /
10+ .idea /
Original file line number Diff line number Diff line change 4141 < link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/7.33.1/sweetalert2.min.css "
4242 integrity ="sha256-/PVkO2+mUlKqE6wgKVXU5Wh4mx3vncHAxLEdpXrziGo= " crossorigin ="anonymous " />
4343
44- < link rel ="stylesheet " href ="css/main.css ">
44+ < link rel ="stylesheet " href ="/ css/main.css ">
4545
4646 <!-- Get jQuery JS from Google CDN, or fallback to local copy -->
4747 < script src ="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js "> </ script >
7474 integrity ="sha256-u74zWXS2T+G4E4NsM/R8gR8SaTJcq5a0TCks5m+AN9k= " crossorigin ="anonymous "> </ script >
7575
7676 <!-- Try to load main JS module -->
77- < script type ="module " src ="js/map.js "> </ script >
77+ < script type ="module " src ="/ js/map.js "> </ script >
7878</ head >
7979
8080< body >
You can’t perform that action at this time.
0 commit comments