Commit 54a6256 1 parent 580ebb6 commit 54a6256 Copy full SHA for 54a6256
File tree 2 files changed +34
-1
lines changed
2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Update Deployment
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - " *"
7
+
8
+ jobs :
9
+ publish :
10
+ permissions :
11
+ contents : write
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Check out
15
+ uses : actions/checkout@v4
16
+
17
+ - name : Setup Node.js
18
+ uses : actions/setup-node@v2
19
+ with :
20
+ node-version : ' 20'
21
+
22
+ - name : Install dependencies
23
+ run : cd client && npm install
24
+
25
+ - name : Generate your content
26
+ run : npm run build:client
27
+
28
+ - name : Publish current workdir (which contains generated content) to GitHub Pages
29
+ uses : rayluo/github-pages-overwriter@v1.3
30
+
31
+ with :
32
+ source-directory : client
33
+ target-branch : gh-pages
Original file line number Diff line number Diff line change 15
15
< div id ="game ">
16
16
< canvas id ="canvas "> </ canvas >
17
17
</ div >
18
- < script src ="build/comets.js "> </ script >
18
+ < script src ="./ build/comets.js "> </ script >
19
19
</ body >
20
20
</ html >
You can’t perform that action at this time.
0 commit comments