Skip to content

Commit

Permalink
fix: Update github-action.yml - 환경변수 설정 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
jud1thDev authored Nov 10, 2024
1 parent e9b0d67 commit 7c67b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/github-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ jobs:
key: ${{ secrets.KEY }}
envs: GITHUB_SHA
script: |
export GOOGLE_APPLICATION_CREDENTIALS=/home/ubuntu/mmc-bookduck-ocr.json # 환경 변수 설정
sudo docker-compose -f /home/ubuntu/docker-compose.yml down # 이전 컨테이너들 제거
sudo docker pull ${{ secrets.DOCKER_REPO }}:latest # 최신 Docker 이미지 가져오기
sudo docker-compose -f /home/ubuntu/docker-compose.yml up -d # docker-compose로 컨테이너 실행
sudo docker image prune -f # 불필요한 이미지를 정리

0 comments on commit 7c67b02

Please sign in to comment.