File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 8585 OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
8686 KAKAO_API_KEY=${{ secrets.KAKAO_API_KEY }}
8787 KAKAO_REDIRECT_URI=${{ secrets.KAKAO_REDIRECT_URI }}
88- CORS_ORIGIN=${{ secrets.CORS_CORIGIN }}
88+ CORS_ORIGIN=${{ secrets.CORS_CORIGIN1}},${{ secrets.CORS_CORIGIN2 }}
8989 EOF
9090
9191 - name : Create frontend/.env on server
9999 cat > /home/ubuntu/classlog/frontend/.env <<EOF
100100 NEXT_PUBLIC_API_BASE_URL=${{secrets.NEXT_PUBLIC_API_BASE_URL}}
101101 EOF
102-
103102 - name : Deploy containers
104103105104 with :
@@ -112,6 +111,7 @@ jobs:
112111 export IMAGE_TAG="${{ github.sha }}"
113112
114113 echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin
114+ docker compose down
115115 docker compose pull
116116 docker compose up -d
117117 docker image prune -f
You can’t perform that action at this time.
0 commit comments