Skip to content

Merge pull request #21 from ssciwr/dependabot/npm_and_yarn/all-9577a9… #59

Merge pull request #21 from ssciwr/dependabot/npm_and_yarn/all-9577a9…

Merge pull request #21 from ssciwr/dependabot/npm_and_yarn/all-9577a9… #59

Workflow file for this run

name: Build and deploy to gh-pages
on: push
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- run: pnpm install
- run: pnpm run build
- uses: actions/upload-pages-artifact@v3
with:
path: "dist/"
deploy:
if: github.ref == 'refs/heads/main'
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/deploy-pages@v4
id: deployment