reverted to pnpm

This commit is contained in:
2026-08-22 05:02:34 +02:00
parent c1d9927d90
commit d90eaa0907
4 changed files with 3843 additions and 5784 deletions
+4 -43
View File
@@ -18,48 +18,9 @@ jobs:
with: with:
node-version: "22" node-version: "22"
# - name: Verify build (locally) - name: Verify build (locally)
# run: |
# npm ci --no-audit --no-fund
# npm run build
- name: Stage source for upload
run: | run: |
mkdir .deploy-stage npm ci --no-audit --no-fund
tar --exclude=.git --exclude=node_modules --exclude=.next \ npm run build
--exclude=.deploy-stage -cf - . | (cd .deploy-stage && tar xf -)
- name: Probe FTP server #
run: |
echo "--- full listing ---"
curl -s --user "${{ secrets.FTP_USER }}:${{ secrets.FTP_PASS }}" \
"ftp://82.165.141.176/dev.karlderheinz.tv/"
echo "--- write test ---"
echo "probe $(date -u)" > /tmp/probe.txt && \
curl -s --user "${{ secrets.FTP_USER }}:${{ secrets.FTP_PASS }}" \
-T /tmp/probe.txt \
"ftp://82.165.141.176/dev.karlderheinz.tv/deploy-probe-$(date +%s).txt" && echo PUT-OK || echo PUT-FAILED
- name: Reproduce MKDIR
run: |
apt-get update && apt-get install -y lftp >/dev/null 2>&1 || true
lftp <<'EOF' 2>&1 | tail -25 || true
set net:tls:mode disable
open ftp://${{ secrets.FTP_USER }}:${{ secrets.FTP_PASS }}@82.165.141.176/dev.karlderheinz.tv/
pwd
mkdir public
ls
bye
EOF
- name: Upload source to server (FTP)
uses: SamKirkland/FTP-Deploy-Action@4.2.0
with:
server: 82.165.141.176
username: ${{ secrets.FTP_USER }}
password: ${{ secrets.FTP_PASS }}
local-dir: .deploy-stage/
remote-dir: /dev/karlderheinz.tv/
transfer-method: "passive"
# TODO: trigger the server-side build + restart (next conversation)
View File
-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