From 474cdaea80b0ec674fe3352cdb075df5d1ad9568 Mon Sep 17 00:00:00 2001 From: ericcccliu Date: Fri, 29 Mar 2024 03:15:27 -0500 Subject: [PATCH] please --- .github/workflows/deploy_api.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy_api.yml b/.github/workflows/deploy_api.yml index 4cfeca5..f24d5ed 100644 --- a/.github/workflows/deploy_api.yml +++ b/.github/workflows/deploy_api.yml @@ -35,8 +35,8 @@ jobs: git pull origin main fi echo "ENV_FILE_CONTENT:" - echo "$ENV_FILE_CONTENT" - echo "$ENV_FILE_CONTENT" > .env + echo "${{ secrets.ENV_FILE_CONTENT }}" | base64 --decode + echo "${{ secrets.ENV_FILE_CONTENT }}" | base64 --decode > .env docker build -t hackgpt . docker stop hackgpt-container || true docker rm hackgpt-container || true