Skip to content

remove package.json#packageManager #24

remove package.json#packageManager

remove package.json#packageManager #24

Workflow file for this run

name: Deploy website
on:
push:
# We only run this GitHub action upon new commits to `main`
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9.1.3
- run: pnpm install
- name: Set environemnt variable $BASE_URL
run: echo "BASE_URL=/handli/" >> $GITHUB_ENV
- run: pnpm build
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: demo/dist/
# Remove previous build files
clean: true
# Do not remove the `.nojekyll` file: we have manually added an empty `.nojekyll` file at the root of the `gh-pages` branch and we don't want having to re-create it after each build.
clean-exclude: |
.nojekyll