We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3a3956 commit b67c2a5Copy full SHA for b67c2a5
.github/workflows/deploy.yml
@@ -70,7 +70,16 @@ jobs:
70
path: client/dist
71
72
- name: Reload Nginx
73
- run: docker-compose exec nginx nginx -s reload
+ env:
74
+ NODE_ENV: production
75
+ MONGO_URI: ${{ secrets.MONGO_URI }}
76
+ JWT_SECRET: ${{ secrets.JWT_SECRET }}
77
+ JWT_REFRESH_SECRET: ${{ secrets.JWT_REFRESH_SECRET }}
78
+ VITE_API_URL: ${{ secrets.VITE_API_URL }}
79
+ AI_PROMPT: ${{ secrets.AI_PROMPT }}
80
+ AI_API_URL: ${{ secrets.AI_API_URL }}
81
+ AI_API_KEY: ${{ secrets.AI_API_KEY }}
82
+ run: docker-compose up -d --no-build --force-recreate nginx
83
84
- name: Cleanup
85
run: docker image prune -f
0 commit comments