From 44d985d71c3383d02ef935009d7c12ff4e032471 Mon Sep 17 00:00:00 2001 From: kmmiio99o Date: Sun, 28 Sep 2025 22:43:16 +0200 Subject: [PATCH] Fix deploy --- .github/workflows/deploy.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fb7b967..225f513 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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