Skip to content

Merge pull request #92 from dms-viz/91-floored-effect-coloring-someti… #41

Merge pull request #92 from dms-viz/91-floored-effect-coloring-someti…

Merge pull request #92 from dms-viz/91-floored-effect-coloring-someti… #41

Workflow file for this run

name: Publish to GitHub Pages
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Automatic GitHub Release
uses: justincy/[email protected]
id: release
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm run build --if-present
- name: Deploy
if: steps.release.outputs.released == 'true'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist