Compare commits

..
11 Commits
Author SHA1 Message Date
KarlderHeinz d90eaa0907 reverted to pnpm 2026-08-22 05:02:34 +02:00
KarlderHeinz c1d9927d90 test 2026-08-22 04:19:58 +02:00
KarlderHeinz fb02c498a6 removed standalone 2026-08-22 03:58:50 +02:00
KarlderHeinz 2a8fd23409 plaintext 2026-08-22 02:58:52 +02:00
KarlderHeinz fe079ed6fe mkdir test 2026-08-22 02:56:00 +02:00
KarlderHeinz ea76570acc more tests 2026-08-22 02:52:26 +02:00
KarlderHeinz 75deff7aca passive ftp 2026-08-22 02:47:17 +02:00
KarlderHeinz 9ee5ac6e96 ftp test 2026-08-22 02:45:07 +02:00
KarlderHeinz 82f5c079fe removed ssh, back to ftp 2026-08-22 02:38:40 +02:00
KarlderHeinz 137bd0225a another change 2026-08-22 02:27:43 +02:00
KarlderHeinz 774b07b924 one more change 2026-08-22 02:20:47 +02:00
4 changed files with 3843 additions and 5772 deletions
+3 -28
View File
@@ -16,36 +16,11 @@ jobs:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: "22" # match the version your project targets node-version: "22"
- name: Build (verify it compiles) - name: Verify build (locally)
run: | run: |
npm ci --no-audit --no-fund npm ci --no-audit --no-fund
npm run build npm run build
- name: Setup SSH client #
run: |
which rsync ssh || (apt-get update && apt-get install -y rsync openssh-client)
mkdir -p ~/.ssh
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/deploy_key
chmod 600 ~/.ssh/deploy_key
ssh-keyscan -H 82.165.141.176 >> ~/.ssh/known_hosts
- name: Copy source to server
run: |
rsync -avz --delete \
--exclude node_modules --exclude .next --exclude out --exclude .git \
./ "${{ secrets.DEPLOY_USER }}@82.165.141.176":/var/www/vhosts/dev.karlderheinz.tv/nodejs/<app-name>/
- name: Install, build and restart on server
run: |
ssh -i ~/.ssh/deploy_key ${{ secrets.DEPLOY_USER }}@82.165.141.176 <<'EOF'
set -e
cd /dev.karlderheinz.tv
npm ci --no-audit --no-fund
npm run build
if [ -d public ]; then
cp -r public .next/standalone/public # standalone needs your static assets copied in
fi
systemctl restart <your-plesk-unit> # or: monit restart <name>
EOF
+1 -3
View File
@@ -1,7 +1,5 @@
import type { NextConfig } from "next"; import type { NextConfig } from "next";
// next.config.ts // next.config.ts
const nextConfig: NextConfig = { const nextConfig: NextConfig = {};
output: "standalone",
};
export default nextConfig; export default nextConfig;
-5741
View File
File diff suppressed because it is too large Load Diff
+3839
View File
File diff suppressed because it is too large Load Diff