more tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user