Skip to content

Merge pull request #127 from cdepillabout/jsaddle-hackage #16

Merge pull request #127 from cdepillabout/jsaddle-hackage

Merge pull request #127 from cdepillabout/jsaddle-hackage #16

Workflow file for this run

on:
push:
branches:
- master
jobs:
deploy:
name: Nix build and deploy GHCJS web app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v16
with:
extra_nix_config: |
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= miso-haskell.cachix.org-1:6N2DooyFlZOHUfJtAx1Q09H0P5XXYzoxxQYiwn6W1e8= haskell-pretty-simple.cachix.org-1:AWHkzPidwcDzWUIUjKcx/PYgud2OBAa9SNUEoIOsATY=
substituters = https://cache.nixos.org/ https://miso-haskell.cachix.org https://haskell-pretty-simple.cachix.org
- name: Build
run: |
nix-build ./web
cp -rL result result-no-symlinks
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: result-no-symlinks/bin/web.jsexe