Skip to content

Commit 07bfb1e

Browse files
committed
next export
1 parent 6f0cbc5 commit 07bfb1e

3 files changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ jobs:
3737
- name: Upload build artifact
3838
uses: actions/upload-artifact@v4
3939
with:
40-
name: site
41-
path: |
42-
dist/**
40+
name: static-out
41+
path: out
4342
if-no-files-found: error
4443

4544
deploy:
@@ -52,8 +51,8 @@ jobs:
5251
- name: Download build artifact
5352
uses: actions/download-artifact@v4
5453
with:
55-
name: site
56-
path: site
54+
name: static-out
55+
path: out
5756

5857
- name: Prepare SSH
5958
shell: bash
@@ -84,6 +83,6 @@ jobs:
8483
# Sync files (delete removed files on server)
8584
rsync -avz --delete \
8685
-e "ssh -i ~/.ssh/id_ed25519 -p $PORT -o StrictHostKeyChecking=yes" \
87-
site/ "$SSH_USER@$SSH_HOST:$SSH_TARGET_DIR"
86+
out/ "$SSH_USER@$SSH_HOST:$SSH_TARGET_DIR"
8887
8988

next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
3-
output: 'standalone'
3+
output: 'export'
44
}
55

66
module.exports = nextConfig

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@
5858
"react-json-tree": "0.18.0",
5959
"start-server-and-test": "2.0.3"
6060
}
61-
}
61+
}

0 commit comments

Comments
 (0)