fix: construct .env entirely

This commit is contained in:
2026-03-26 22:07:58 +07:00 Unverified
parent a80b0dee4d
commit 051f8e6286
2 changed files with 5 additions and 8 deletions
+2 -5
View File
@@ -21,12 +21,9 @@ jobs:
-u ${{ gitea.actor }} \
--password-stdin
- name: Create .env file
- name: Restore .env
run: |
cat <<EOF > .env
BETTER_AUTH_SECRET=${{ secrets.BETTER_AUTH_SECRET }}
DATABASE_URL=${{ secrets.DATABASE_URL }}
EOF
echo "${{ secrets.ENV_FILE_B64 }}" | base64 -d > .env
- name: Build Image
run: |