From 39039b4d27cab00ed4e3b5e563dc1da64e135686 Mon Sep 17 00:00:00 2001 From: Asep Haryana Saputra <90584806+MythEclipse@users.noreply.github.com> Date: Fri, 22 May 2026 21:42:58 +0000 Subject: [PATCH] fix: update environment variable setup in deployment script --- .claude/worktrees/agent-a0c0d2ca3329a16b7 | 1 + .github/workflows/deploy.yml | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 160000 .claude/worktrees/agent-a0c0d2ca3329a16b7 diff --git a/.claude/worktrees/agent-a0c0d2ca3329a16b7 b/.claude/worktrees/agent-a0c0d2ca3329a16b7 new file mode 160000 index 0000000..fbd85c7 --- /dev/null +++ b/.claude/worktrees/agent-a0c0d2ca3329a16b7 @@ -0,0 +1 @@ +Subproject commit fbd85c7e3a87024ecc3eaa51ff33ca0a5ca41d65 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 41b701e..607a390 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -103,13 +103,15 @@ jobs: git checkout main git pull --ff-only origin main - cat > .env << 'ENVEOF' - GITHUB_REPOSITORY=${REPO_SLUG} + { + printf 'GITHUB_REPOSITORY=%s\n' "$REPO_SLUG" + cat << 'ENVEOF' DATABASE_URL=${{ secrets.DATABASE_URL }} SESSION_SECRET=${{ secrets.SESSION_SECRET }} WEB_APP_URL=https://zeavisedu.asepharyana.tech ML_SERVICE_URL=https://ml.zeavisedu.asepharyana.tech ENVEOF + } > .env docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} docker network create app-shared-net 2>/dev/null || true