Skip to content

Commit 4ffeb04

Browse files
committed
refactor: move vite-env env var to web image build
1 parent efafb21 commit 4ffeb04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-web-select.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ jobs:
5050
with:
5151
working_directory: ${{ env.WORKING_DIRECTORY }}
5252
node_version: ${{ matrix.node-major-version }}.${{ matrix.node-minor-version }}
53-
env:
54-
VITE_ENV: ${{ github.event.inputs.environment }}
5553

5654
- name: Log in to the GHCR
5755
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
@@ -81,6 +79,8 @@ jobs:
8179
8280
- name: Build ${{ env.WEB_IMAGE_NAME }} image
8381
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
82+
env:
83+
VITE_ENV: ${{ github.event.inputs.environment }}
8484
with:
8585
push: true
8686
context: .

0 commit comments

Comments
 (0)