pack and upload
Deploy to FTP / deploy (push) Failing after 10s

This commit is contained in:
Sebastian Molenda
2026-06-13 15:06:31 +02:00
parent 5f0074ed37
commit eb6890a603
+4 -4
View File
@@ -22,15 +22,15 @@ jobs:
- name: Create latest.zip - name: Create latest.zip
run: | run: |
set -e set -e
# ensure a small staging dir for upload # ensure a small staging dir for upload (absolute path so later cd won't affect it)
mkdir -p dist mkdir -p "$GITHUB_WORKSPACE/dist"
# install zip utility (container may not have it) # install zip utility (container may not have it)
apt-get update && apt-get install -y zip apt-get update && apt-get install -y zip
# create latest.zip containing the assets directory (so zip root contains 'assets/') # create latest.zip containing the assets directory (so zip root contains 'assets/')
cd app/src/main cd app/src/main
zip -r "$GITHUB_WORKSPACE/latest.zip" assets zip -r "$GITHUB_WORKSPACE/latest.zip" assets
# move zip into dist so the FTP action can upload just that file # move zip into the workspace dist so the FTP action can upload just that file
mv "$GITHUB_WORKSPACE/latest.zip" dist/ mv "$GITHUB_WORKSPACE/latest.zip" "$GITHUB_WORKSPACE/dist/"
- name: Upload latest.zip via FTP to releases - name: Upload latest.zip via FTP to releases
uses: SamKirkland/FTP-Deploy-Action@v4.3.4 uses: SamKirkland/FTP-Deploy-Action@v4.3.4