Skip to content

Select multiple

Select multiple #24

Workflow file for this run

name: Build & Deploy Lookbook website
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '18.14.0'
- name: Install & Build
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
npm install --no-save --no-audit
npm run build -- --pathprefix=lookbook-website
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
env:
CI: true
NODE_ENV: production
with:
# The branch the action should deploy to.
branch: gh-pages
# The folder the action should deploy.
folder: build