Skip to content

Commit

Permalink
πŸš‘ !HOTFIX : 배포 μ‹œ frontend μ—μ„œ ENV νŒŒμΌμ„ 인식 λͺ»ν•˜λŠ” ν˜„μƒ μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
jinddings committed Nov 14, 2024
1 parent 8622129 commit 09478ac
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/deply-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ jobs:
- name: Create .env file
run: |
touch ./${{ matrix.app.dir }}/.env
echo "${{ secrets.ENV }}" > ./${{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
- name: Install dependencies
working-directory: ./${{matrix.app.dir}}
Expand Down Expand Up @@ -104,7 +108,12 @@ jobs:
port: 22
script: |
docker system prune -af
echo "${{ secrets.ENV }}" > .env
if [ "${{ matrix.app.name }}" = "be" ]; then
echo "${{ secrets.ENV }}" > .env
else
echo "${{ secrets.ENV_FE }}" > .env
fi
docker network create juga-network || true
Expand Down

0 comments on commit 09478ac

Please sign in to comment.