Skip to content

CI

CI #208

Workflow file for this run

name: CI
on:
schedule:
- cron: "0 0 * * *"
push:
branches:
- "develop"
workflow_dispatch:
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: "npm"
- name: Cache generated Elm modules
uses: actions/cache@v3
with:
path: cache
key: ${{ runner.os }}-elm-modules
- run: make install
- run: make clean setup build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: "dist"
name: "github-pages"
deploy:
needs: build
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2