dev #5

Merged
zhangxiang merged 159 commits from dev into main 2026-04-12 17:39:08 +08:00
Showing only changes of commit 4761850502 - Show all commits
+5 -4
View File
@@ -1,5 +1,5 @@
variables:
- &node_image node:20-alpine
- &node_image node:20-slim
steps:
install-deps:
@@ -112,7 +112,7 @@ steps:
- dev
build-and-deploy:
image: node:20-alpine
image: *node_image
environment:
NODE_ENV: production
NEXT_TELEMETRY_DISABLED: 1
@@ -123,8 +123,9 @@ steps:
- lint
- type-check
commands:
- echo "Installing SSH client"
- apk add --no-cache openssh-client rsync
- echo "Checking SSH client availability"
- which ssh && echo "SSH client found" || echo "Installing SSH client"
- apt-get update && apt-get install -y openssh-client rsync
- echo "Building production artifacts"
- npm run build
- echo "Build completed"