Skip to content

Merge pull request #215 from ssciwr/dependabot/npm_and_yarn/all-050de… #370

Merge pull request #215 from ssciwr/dependabot/npm_and_yarn/all-050de…

Merge pull request #215 from ssciwr/dependabot/npm_and_yarn/all-050de… #370

Workflow file for this run

name: Build and deploy to gh-pages
on: push
jobs:
build-and-deploy:
name: Build and deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
- run: pnpm install
- run: pnpm run build
- uses: JamesIves/github-pages-deploy-action@v4.6.8
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
name: Deploy to gh-pages
with:
branch: gh-pages
folder: dist
single-commit: true