From 18e50c78d5a57a2b9964ebf4b568b7f8e5365ae0 Mon Sep 17 00:00:00 2001 From: wonder Date: Sun, 21 Jun 2026 14:35:32 +0800 Subject: [PATCH] ci: revert to secrets.DEPLOY_ENV, variables context not supported in Gitea Actions --- .gitea/workflows/deploy.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index d416e96..46283c6 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -22,12 +22,8 @@ jobs: - name: Write .env env: - DEPLOY_ENV: ${{ variables.DEPLOY_ENV }} - run: | - echo "$DEPLOY_ENV" > .env - echo "--- .env content ---" - cat .env - echo "--- end ---" + DEPLOY_ENV: ${{ secrets.DEPLOY_ENV }} + run: echo "$DEPLOY_ENV" > .env - name: Build & Deploy run: |