diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 9b4a05c..34d853a 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -78,6 +78,8 @@ jobs: EMAIL_HOST=${{ secrets.EMAIL_HOST }} EMAIL_HOST_USER=${{ secrets.EMAIL_HOST_USER }} EMAIL_HOST_PASSWORD=${{ secrets.EMAIL_HOST_PASSWORD }} + NEXT_PUBLIC_CAPTCHA_SITE_KEY=${{ secrets.NEXT_PUBLIC_CAPTCHA_SITE_KEY }} + NEXT_SHARP_PATH=${{ secrets.NEXT_SHARP_PATH }} _EOF_ - name: Copy docker-compose-prod.yaml via ssh uses: appleboy/scp-action@master diff --git a/infra/docker-compose-prod.yaml b/infra/docker-compose-prod.yaml index 44fb102..055fc6a 100644 --- a/infra/docker-compose-prod.yaml +++ b/infra/docker-compose-prod.yaml @@ -29,7 +29,7 @@ services: frontend: image: ${DOCKERHUB_USERNAME_FRONT}/${PROJECT_NAME}_frontend:latest - restart: always + command: cp -r out/. /frontend_static/ env_file: .env ports: - "3000:3000"