mirror of
https://github.com/theoleuthardt/werkzeugkiste.git
synced 2026-06-13 09:37:53 +00:00
fix: dynamic node environment variable
This commit is contained in:
parent
a3e7998d11
commit
0505620145
4 changed files with 10 additions and 3 deletions
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
|
|
@ -41,6 +41,7 @@ jobs:
|
|||
tags: ${{ secrets.DOCKERHUB_USERNAME }}/werkzeugkiste-frontend:latest
|
||||
build-args: |
|
||||
NEXT_PUBLIC_BACKEND_URL=${{ secrets.NEXT_PUBLIC_BACKEND_URL }}
|
||||
NODE_ENV=${{ secrets.NODE_ENV }}
|
||||
|
||||
- name: Build and Push Backend
|
||||
uses: docker/build-push-action@v6
|
||||
|
|
@ -50,6 +51,7 @@ jobs:
|
|||
tags: ${{ secrets.DOCKERHUB_USERNAME }}/werkzeugkiste-backend:latest
|
||||
build-args: |
|
||||
CORS_ALLOWED_ORIGIN=${{ secrets.CORS_ALLOWED_ORIGIN }}
|
||||
NODE_ENV=${{ secrets.NODE_ENV }}
|
||||
|
||||
deploy-on-server:
|
||||
needs: docker-build-push
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue