Commit 08f1784 1 parent 3abd3eb commit 08f1784 Copy full SHA for 08f1784
File tree 3 files changed +25
-3
lines changed
3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ jobs:
22
22
sudo mv elm /usr/local/bin
23
23
24
24
- name : Build Project
25
- run : elm make src/Main.elm
25
+ run : elm make src/Main.elm --output=index.js
26
26
27
27
- name : Move file to the ./public folder
28
- run : mkdir public && mv index.html public/index.html
28
+ run : mkdir public && mv index.html public/index.html && mv index.js public/index.js
29
29
30
30
- name : Deploy to GitHub Pages
31
31
uses : peaceiris/actions-gh-pages@v3
Original file line number Diff line number Diff line change 1
1
elm-stuff /
2
- index.html
2
+ index.js
Original file line number Diff line number Diff line change
1
+ < html >
2
+ < head >
3
+ < meta charset ="UTF-8 ">
4
+ < title > Main</ title >
5
+ < script src ="index.js "> </ script >
6
+ < script defer data-domain ="cong1kit3.ethanppl.com " src ="https://plausible.ethanppl.com/js/script.js "> </ script >
7
+ < style >
8
+ body {
9
+ margin : 0px ;
10
+ }
11
+ </ style >
12
+ </ head >
13
+
14
+ < body >
15
+ < div id ="myapp "> </ div >
16
+ < script >
17
+ var app = Elm . Main . init ( {
18
+ node : document . getElementById ( 'myapp' )
19
+ } ) ;
20
+ </ script >
21
+ </ body >
22
+ </ html >
You can’t perform that action at this time.
0 commit comments