Fix deploy
This commit is contained in:
parent
1652479aca
commit
44d985d71c
1 changed files with 8 additions and 8 deletions
16
.github/workflows/deploy.yml
vendored
16
.github/workflows/deploy.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue