From eb6890a6034bf776a8305fa71e1904ac75cbcef5 Mon Sep 17 00:00:00 2001 From: Sebastian Molenda Date: Sat, 13 Jun 2026 15:06:31 +0200 Subject: [PATCH] pack and upload --- .gitea/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index a3db272..4ba486f 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -22,15 +22,15 @@ jobs: - name: Create latest.zip run: | set -e - # ensure a small staging dir for upload - mkdir -p dist + # ensure a small staging dir for upload (absolute path so later cd won't affect it) + mkdir -p "$GITHUB_WORKSPACE/dist" # install zip utility (container may not have it) apt-get update && apt-get install -y zip # create latest.zip containing the assets directory (so zip root contains 'assets/') cd app/src/main zip -r "$GITHUB_WORKSPACE/latest.zip" assets - # move zip into dist so the FTP action can upload just that file - mv "$GITHUB_WORKSPACE/latest.zip" dist/ + # move zip into the workspace dist so the FTP action can upload just that file + mv "$GITHUB_WORKSPACE/latest.zip" "$GITHUB_WORKSPACE/dist/" - name: Upload latest.zip via FTP to releases uses: SamKirkland/FTP-Deploy-Action@v4.3.4