From 414ead9926b64f8518cf1b40ec6ea97cba4e3670 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 19 Jan 2026 20:54:31 +0000 Subject: [PATCH 1/2] Initial plan From ba48e2fc4d88b836366f05946242180a723454ec Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 19 Jan 2026 20:57:40 +0000 Subject: [PATCH 2/2] Fix deploy workflow with updated GitHub Actions Co-authored-by: benfoxall <51385+benfoxall@users.noreply.github.com> --- .github/workflows/deploy.yml | 32 +++++++++++--------------------- 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 71cf2bd..401ff22 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -6,26 +6,17 @@ on: jobs: build-and-deploy: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout 🛎️ - uses: actions/checkout@v2.3.1 - with: - persist-credentials: false - - - name: Get yarn cache directory 📦 - id: yarn-cache - run: | - echo "::set-output name=dir::$(yarn cache dir)" + uses: actions/checkout@v4 - - name: Cache node modules 📦 - uses: actions/cache@v2 - env: - cache-name: cache-node-modules + - name: Setup Node.js + uses: actions/setup-node@v4 with: - path: ${{ steps.yarn-cache.outputs.dir }} - key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-node + node-version: '18' + cache: 'yarn' - name: Install and Build 🔧 run: | @@ -34,9 +25,8 @@ jobs: touch build/.nojekyll - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@3.7.1 + uses: JamesIves/github-pages-deploy-action@v4 with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH: gh-pages # The branch the action should deploy to. - FOLDER: build # The folder the action should deploy. - CLEAN: true # Automatically remove deleted files from the deploy branch + branch: gh-pages + folder: build + clean: true