Skip to content

Commit a4d7abf

Browse files
committed
update deploy
1 parent c8e4529 commit a4d7abf

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
key: ${{ secrets.GCP_SSH_KEY }}
2323
script: |
2424
cd codive-ai
25-
echo "HF_TOKEN=${{secrets.HF_TOKEN}}" > .env
2625
2726
# 최신 코드 받기
2827
git pull origin main
28+
echo "HF_TOKEN=${{secrets.HF_TOKEN}}" > .env
2929
3030
# Docker 다시 빌드 및 실행 (기존 컨테이너 교체)
31-
docker-compose up -d --build
31+
docker compose up -d --build
3232
3333
# 불필요한 이미지 정리
3434
docker image prune -f

nginx/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ http {
99

1010
location / {
1111
# 'fastapi-app'은 docker-compose.yml의 서비스 이름과 같아야 합니다.
12-
proxy_pass http://codive-ai-server:8000;
12+
proxy_pass http://fastapi-app:8000;
1313
proxy_set_header Host $host;
1414
proxy_set_header X-Real-IP $remote_addr;
1515
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

0 commit comments

Comments
 (0)