more tests
This commit is contained in:
@@ -18,10 +18,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: "22"
|
node-version: "22"
|
||||||
|
|
||||||
- name: Verify build (locally)
|
# - 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: Stage source for upload
|
- name: Stage source for upload
|
||||||
run: |
|
run: |
|
||||||
@@ -31,8 +31,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Probe FTP server
|
- name: Probe FTP server
|
||||||
run: |
|
run: |
|
||||||
curl -sv --user "${{ secrets.FTP_USER }}:${{ secrets.FTP_PASS }}" \
|
echo "--- full listing ---"
|
||||||
"ftp://82.165.141.176/dev.karlderheinz.tv/" 2>&1 | tail -30 || true
|
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)
|
- name: Upload source to server (FTP)
|
||||||
uses: SamKirkland/FTP-Deploy-Action@4.2.0
|
uses: SamKirkland/FTP-Deploy-Action@4.2.0
|
||||||
|
|||||||
Reference in New Issue
Block a user