Skip to content

Commit

Permalink
πŸ”§ fix : env 파일 생성 μ½”λ“œ 되돌리기
Browse files Browse the repository at this point in the history
  • Loading branch information
jinddings committed Nov 14, 2024
1 parent c46538e commit 8c5e64d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ jobs:
- name: Create .env file
run: |
touch ./${{ matrix.app.dir }}/.env
if [ "${{ matrix.app.name }}" = "be" ]; then
echo "${{ secrets.ENV }}" > ./${{matrix.app.dir}}/.env
else
echo "${{ secrets.ENV_FE }}" > ./${{matrix.app.dir}}/.env
fi
echo "${{ secrets.ENV }}" > ./${{matrix.app.dir}}/.env
- name: Install dependencies
working-directory: ./${{matrix.app.dir}}
Expand Down Expand Up @@ -120,11 +116,7 @@ jobs:
script: |
docker system prune -af
if [ "${{ matrix.app.name }}" = "be" ]; then
echo "${{ secrets.ENV }}" > ./${{matrix.app.dir}}/.env
else
echo "${{ secrets.ENV_FE }}" > ./${{matrix.app.dir}}/.env
fi
echo "${{ secrets.ENV }}" > .env
docker network create juga-network || true
docker run -d \
Expand Down

0 comments on commit 8c5e64d

Please sign in to comment.