Skip to content

Update README.md

Update README.md #39

Workflow file for this run

name: Unit tests
on:
push:
branches:
- main
jobs:
container-job:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Cache purescript dependencies
uses: actions/cache@v2
with:
path: |
~/.npm
.spago
${{ env.spago_global_cache }}
output
key: >-
${{ hashFiles('package-lock.json') }}-
${{ hashFiles('spago.dhall') }}-
${{ hashFiles('examples.dhall') }}-
${{ hashFiles('packages.dhall') }}
- name: Install dependencies
run: npm ci
- name: Spago install
run: npx spago install
- name: Spago build
run: npx spago build
- name: Build qc
run: npx vite build
- name: Deploy
if: ${{ github.ref == 'refs/heads/main' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_TOKEN }}
publish_dir: ./dist
- name: deploy to netlify @ ocarina.fm
run: NETLIFY_SITE_ID=${{ secrets.NETLIFY_WAGS_FM_SITE_ID }} NETLIFY_AUTH_TOKEN=${{ secrets.NETLIFY_AUTH_TOKEN }} netlify deploy --dir=dist --prod
- name: deploy to netlify @ docs.ocarina.fm
run: NETLIFY_SITE_ID=${{ secrets.NETLIFY_WAGS_DOCS_SITE_ID }} NETLIFY_AUTH_TOKEN=${{ secrets.NETLIFY_AUTH_TOKEN }} netlify deploy --dir=dist --prod
- name: deploy to netlify @ whatis.ocarina.fm
run: NETLIFY_SITE_ID=${{ secrets.NETLIFY_WHAT_IS_WAGS_SITE_ID }} NETLIFY_AUTH_TOKEN=${{ secrets.NETLIFY_AUTH_TOKEN }} netlify deploy --dir=dist --prod