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:
|
||||
push:
|
||||
branches: [main, master]
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Prepare environment
|
||||
uses: actions/setup-node@v2
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 22
|
||||
|
||||
- run: npm install --global pnpm
|
||||
node-version: "22"
|
||||
|
||||
- name: Install deps
|
||||
run: pnpm m i
|
||||
run: npm install
|
||||
|
||||
- name: Build plugin(s)
|
||||
run: node ./build.mjs
|
||||
run: npm run build
|
||||
|
||||
# Foolproof feature:
|
||||
# - Copies over README so that the root of the deployed website shows it
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue