diff --git a/.gitea/workflows/deploy-staging.yml b/.gitea/workflows/deploy-staging.yml index b6a03b4..9bc5c92 100644 --- a/.gitea/workflows/deploy-staging.yml +++ b/.gitea/workflows/deploy-staging.yml @@ -17,7 +17,7 @@ jobs: if [ -z "$IMAGE" ]; then IMAGE="ttmt-frontend"; fi IMAGE=$(echo "$IMAGE" | tr '[:upper:]' '[:lower:]') docker build --build-arg NODE_VERSION=22.14.0 -t $IMAGE:staging-${{ github.sha }} . - docker save -o /tmp/ttmt-frontend.tar $IMAGE:staging-${{ github.sha }} + docker save -o $GITHUB_WORKSPACE/ttmt-frontend.tar $IMAGE:staging-${{ github.sha }} - name: Upload Image Tar uses: appleboy/scp-action@v0.1.7 @@ -26,7 +26,7 @@ jobs: username: ${{ secrets.SSH_USER }} key: ${{ secrets.SSH_PRIVATE_KEY }} port: ${{ secrets.SSH_PORT }} - source: /tmp/ttmt-frontend.tar + source: ttmt-frontend.tar target: /tmp - name: Deploy on target (docker compose)