From ea76570acc3e6b6db4ad4108b83ef6c1a62fbdf4 Mon Sep 17 00:00:00 2001 From: KarlderHeinz Date: Sat, 22 Aug 2026 02:52:26 +0200 Subject: [PATCH] more tests --- .github/workflows/build.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dfaa6e9..4b11e97 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,10 +18,10 @@ jobs: with: node-version: "22" - - name: Verify build (locally) - run: | - npm ci --no-audit --no-fund - npm run build + # - name: Verify build (locally) + # run: | + # npm ci --no-audit --no-fund + # npm run build - name: Stage source for upload run: | @@ -31,8 +31,14 @@ jobs: - name: Probe FTP server run: | - curl -sv --user "${{ secrets.FTP_USER }}:${{ secrets.FTP_PASS }}" \ - "ftp://82.165.141.176/dev.karlderheinz.tv/" 2>&1 | tail -30 || true + 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: Upload source to server (FTP) uses: SamKirkland/FTP-Deploy-Action@4.2.0