We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b1899d commit 9b768efCopy full SHA for 9b768ef
1 file changed
.github/workflows/deploy-to-dev.yaml
@@ -57,11 +57,24 @@ jobs:
57
- name: Test
58
run: bun test
59
60
+ - name: Restore cache for NextJS
61
+ uses: actions/cache/restore@v4
62
+ with:
63
+ path: ${{ github.workspace }}/.next/cache
64
+ key: nextjs-${{ hashFiles('**/*.ts', '**/*.tsx') }}
65
+ restore-keys: nextjs-
66
+
67
- name: Build
68
env:
69
VERSION: ${{ github.sha }}
70
run: bun run build
71
72
+ - name: Save cache for NextJS
73
+ uses: actions/cache/save@v4
74
75
76
77
78
- name: Upload static files to CDN
79
uses: nais/deploy/actions/cdn-upload/v2@master
80
with:
0 commit comments