Skip to content

Commit cbb2c4a

Browse files
Changed deletion of middleware.ts to proxy.ts for static site builds to build without errors.
1 parent 90c7518 commit cbb2c4a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/nextjs-static-gh-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ jobs:
5656

5757
- name: 🚫 Ephemerally delete server/api files
5858
run: |
59-
echo "Deleting src/app/api, src/server, src/middleware.ts, and src/app/jobs/[id] for static build..."
60-
rm -rf src/app/api src/server src/middleware.ts src/app/jobs/[id] src/app/[...not-found]
59+
echo "Deleting src/app/api, src/server, src/proxy.ts, and src/app/jobs/[id] for static build..."
60+
rm -rf src/app/api src/server src/proxy.ts src/app/jobs/[id] src/app/[...not-found]
6161
6262
- name: 📥 Install dependencies
6363
run: ${{ env.manager }} ${{ env.command }}

0 commit comments

Comments
 (0)