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 41
41
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/7.33.1/sweetalert2.min.css "
42
42
integrity ="sha256-/PVkO2+mUlKqE6wgKVXU5Wh4mx3vncHAxLEdpXrziGo= " crossorigin ="anonymous " />
43
43
44
- < link rel ="stylesheet " href ="css/main.css ">
44
+ < link rel ="stylesheet " href ="/ css/main.css ">
45
45
46
46
<!-- Get jQuery JS from Google CDN, or fallback to local copy -->
47
47
< script src ="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js "> </ script >
74
74
integrity ="sha256-u74zWXS2T+G4E4NsM/R8gR8SaTJcq5a0TCks5m+AN9k= " crossorigin ="anonymous "> </ script >
75
75
76
76
<!-- Try to load main JS module -->
77
- < script type ="module " src ="js/map.js "> </ script >
77
+ < script type ="module " src ="/ js/map.js "> </ script >
78
78
</ head >
79
79
80
80
< body >
You can’t perform that action at this time.
0 commit comments