Skip to content

Commit 38959a4

Browse files
committed
Specified folder
1 parent ce3c1b3 commit 38959a4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/deploy-docs-to-pages.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ jobs:
3131
steps:
3232
- name: Checkout
3333
uses: actions/checkout@v4
34-
- name: Change to docs directory
35-
run: cd ${{ github.workspace }}/apps/docs
3634
- name: Detect package manager
3735
id: detect-package-manager
3836
run: |
@@ -52,11 +50,12 @@ jobs:
5250
#
5351
# You may remove this line if you want to manage the configuration yourself.
5452
static_site_generator: next
53+
generator_config_file: apps/docs/next.config.js
5554
- name: Restore cache
5655
uses: actions/cache@v4
5756
with:
5857
path: |
59-
.next/cache
58+
apps/docs/.next/cache
6059
# Generate a new cache whenever packages or source files change.
6160
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
6261
# If source files changed but packages didn't, rebuild from a prior cache.

0 commit comments

Comments
 (0)