From 1cd4aa899ae5181cd0d98c96c504ae101344f145 Mon Sep 17 00:00:00 2001 From: wonder Date: Sun, 21 Jun 2026 14:34:24 +0800 Subject: [PATCH] ci: add debug output for .env content to troubleshoot multiline variable --- .gitea/workflows/deploy.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 6424d10..d416e96 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -23,7 +23,11 @@ jobs: - name: Write .env env: DEPLOY_ENV: ${{ variables.DEPLOY_ENV }} - run: echo "$DEPLOY_ENV" > .env + run: | + echo "$DEPLOY_ENV" > .env + echo "--- .env content ---" + cat .env + echo "--- end ---" - name: Build & Deploy run: |