Skip to content

Commit

Permalink
all squashed
Browse files Browse the repository at this point in the history
  • Loading branch information
Leif Battermann committed Oct 19, 2021
1 parent bb31a0d commit 923f659
Show file tree
Hide file tree
Showing 119 changed files with 8,478 additions and 1,500 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publish

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
name: Publish to surge
steps:
- uses: actions/checkout@v1

- name: Install create-elm-app, and surge, then publish
uses: actions/setup-node@v1
with:
node-version: 12

- run: npm install -g create-elm-app
- run: npm install --production
- run: elm-app test
- run: ELM_APP_SIMULATION_API_BASE_URL=${{ secrets.SIMULATION_API_BASE_URL }} elm-app build
- run: mv ./build/index.html ./build/200.html
- run: npm install -g surge
- run: surge ./build/ ${{ secrets.SURGE_DOMAIN }} --token ${{ secrets.SURGE_TOKEN }}
Loading

0 comments on commit 923f659

Please sign in to comment.