We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 944bab8 commit bc6541bCopy full SHA for bc6541b
1 file changed
.github/workflows/ci.yml
@@ -44,7 +44,7 @@ jobs:
44
docker build -t ${{ secrets.DOCKER_REPO }} .
45
docker push ${{ secrets.DOCKER_REPO }}
46
47
- # 서버에 배포
+ # 서버에 배포
48
- name: Deploy to server
49
uses: appleboy/ssh-action@master
50
with:
@@ -64,6 +64,9 @@ jobs:
64
# 최신 이미지 가져오기
65
sudo docker pull ${{ secrets.DOCKER_REPO }}
66
67
+ # .env 파일 생성 (GitHub Secrets 사용)
68
+ echo "${{ secrets.ENV_FILE }}" | base64 --decode > .env
69
+
70
# Docker Compose 실행
71
sudo docker-compose up -d --force-recreate
72
0 commit comments