Skip to content

Commit dfa1f63

Browse files
committed
add github pages action
1 parent 4c3f03d commit dfa1f63

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
jobs:
8+
build-and-deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v3
13+
14+
- name: Setup Elm
15+
uses: jorelali/setup-elm@v3
16+
with:
17+
elm-version: 0.19.1
18+
19+
- name: Build Elm
20+
run: elm make src/Main.elm --optimize --output=public/main.js
21+
22+
- name: Deploy
23+
uses: JamesIves/github-pages-deploy-action@v4
24+
with:
25+
folder: public

.nojekyll

Whitespace-only changes.

0 commit comments

Comments
 (0)