fix: moved env to task for build job
All checks were successful
Build and Deploy Go App / build (push) Successful in 6m23s
Build and Deploy Go App / deploy (push) Successful in 2m41s

This commit is contained in:
nihonium 2025-10-09 16:20:25 +03:00
parent a2c6074b3d
commit 78680c6425
Signed by: nihonium
GPG key ID: 0251623741027CFC

View file

@ -9,9 +9,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container:
env:
VITE_BACKEND_API_BASE_URL: ${{ vars.BACKEND_API_BASE_URL }}
steps:
- name: Checkout code
uses: actions/checkout@v4
@ -45,6 +42,8 @@ jobs:
cache-dependency-path: modules/frontend/package-lock.json
- name: Build frontend
env:
VITE_BACKEND_API_BASE_URL: ${{ vars.BACKEND_API_BASE_URL }}
run: |
cd modules/frontend
npm install