fix: change deploy.yaml
All checks were successful
Deploy Frontend to 1Panel / build-and-deploy (push) Successful in 25s

This commit is contained in:
2026-06-30 18:03:45 +08:00
parent 9d39cac63b
commit d89cff698f

View File

@@ -30,6 +30,10 @@ jobs:
- name: Build Project
run: npm run build # 🎯 Vite 會在這裡讀取剛剛產生的 .env.production把網址寫死進去
# 🎯 新增這步:把缺失的 netcat 裝回來
- name: Install Netcat
run: sudo apt-get update && sudo apt-get install -y netcat-openbsd
- name: Stream Dist out of Container
run: |
tar -czf - -C dist . | nc -w 3 localhost 9999 || true