1
Fork 0
solar-conflux/elm/todolist/.github/workflows/elm.yml
Matei Adriel 9ab4e2d079
elm(todolist): ci: added a basic github actions config
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-11-28 17:05:32 +02:00

31 lines
655 B
YAML

name: Elm
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Use node 12
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm i -g elm create-elm-app
- run: elm install
- run: elm-app build
- name: Deploy to github pages
uses: JamesIves/github-pages-deploy-action@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BASE_BRANCH: master
BRANCH: gh-pages
FOLDER: build