Skip to content

Commit 00c6499

Browse files
committed
remove unused static prefix and disable cache for now
1 parent 3f6c882 commit 00c6499

2 files changed

Lines changed: 10 additions & 11 deletions

File tree

.github/workflows/nextjs.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,16 @@ jobs:
5252
#
5353
# You may remove this line if you want to manage the configuration yourself.
5454
static_site_generator: next
55-
- name: Restore cache
56-
uses: actions/cache@v4
57-
with:
58-
path: |
59-
.next/cache
60-
# Generate a new cache whenever packages or source files change.
61-
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
62-
# If source files changed but packages didn't, rebuild from a prior cache.
63-
restore-keys: |
64-
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
55+
# - name: Restore cache
56+
# uses: actions/cache@v4
57+
# with:
58+
# path: |
59+
# .next/cache
60+
# # Generate a new cache whenever packages or source files change.
61+
# key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
62+
# # If source files changed but packages didn't, rebuild from a prior cache.
63+
# restore-keys: |
64+
# ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
6565
- name: Install dependencies
6666
run: bun install
6767
- name: Build with Next.js

next.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
33
output: "export",
4-
assetPrefix: process.env.ASSET_PREFIX,
54
basePath: "/brno.python.pizza",
65
};
76
module.exports = nextConfig;

0 commit comments

Comments
 (0)