Skip to content

Merge pull request #69 from conjure-cp/dependabot/npm_and_yarn/next-1… #95

Merge pull request #69 from conjure-cp/dependabot/npm_and_yarn/next-1…

Merge pull request #69 from conjure-cp/dependabot/npm_and_yarn/next-1… #95

Workflow file for this run

name: Deploy to the gh-pages branch
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 21
cache: npm
- name: Build
run: |
npm ci
npm run build
# creates a .nojekyll file in the out directory to tell GitHub Pages not to treat the site as a Jekyll project.
touch out/.nojekyll
- name: Deploy to the gh-pages branch
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
branch: gh-pages
folder: out
clean: true