Skip to content

click default off

click default off #9

Workflow file for this run

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 [email protected]
- run: npm install -g [email protected]
- run: npm install --production
- run: elm-format --validate src --elm-version=0.19
- run: npx standard
- run: elm-app build
- run: elm-app test
- run: mv ./build/index.html ./build/200.html
- run: npm install -g surge
- run: surge ./build/ ${{ secrets.SURGE_DOMAIN }} --token ${{ secrets.SURGE_TOKEN }}