Skip to content

Merge pull request #4 from slalom/NCB20-847 #16

Merge pull request #4 from slalom/NCB20-847

Merge pull request #4 from slalom/NCB20-847 #16

Workflow file for this run

name: Build & Deploy
on: [push]
permissions: write-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
- name: Build with npm
run: |
npm install
npm run build
env:
CI: false
- name: Deploy to GitHub Pages
uses: crazy-max/ghaction-github-pages@v2
with:
build_dir: build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}