Skip to content

Commit f08e924

Browse files
remove Next.js cache
1 parent 1c1ad8d commit f08e924

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build-preview.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Build Preview Deployment
22

3-
on:
3+
on:
44
pull_request:
55
types: [opened, synchronize]
66

@@ -52,7 +52,10 @@ jobs:
5252

5353
- name: Install dependencies
5454
run: yarn install --immutable
55-
55+
56+
- name: Remove Next.js build cache
57+
run: rm -rf .next/cache
58+
5659
- name: Build Site
5760
run: yarn run build
5861
env:

0 commit comments

Comments
 (0)