Fix deploy

This commit is contained in:
kmmiio99o 2025-09-28 22:43:16 +02:00
parent 1652479aca
commit 44d985d71c

View file

@ -2,27 +2,27 @@ name: Build and deploy
on: on:
push: push:
branches: [main, master] branches: [main]
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: write
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Prepare environment - name: Prepare environment
uses: actions/setup-node@v2 uses: actions/setup-node@v3
with: with:
node-version: 22 node-version: "22"
- run: npm install --global pnpm
- name: Install deps - name: Install deps
run: pnpm m i run: npm install
- name: Build plugin(s) - name: Build plugin(s)
run: node ./build.mjs run: npm run build
# Foolproof feature: # Foolproof feature:
# - Copies over README so that the root of the deployed website shows it # - Copies over README so that the root of the deployed website shows it