Skip to content

Merge pull request #92 from egreer/dependabot/npm_and_yarn/production… #76

Merge pull request #92 from egreer/dependabot/npm_and_yarn/production…

Merge pull request #92 from egreer/dependabot/npm_and_yarn/production… #76

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: NPM Setup
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: 'npm'
- name: Install and Build
run: |
npm ci
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages # The branch the action should deploy to.
folder: build # The folder the action should deploy.