Skip to content

Commit

Permalink
build: change to variables from environment
Browse files Browse the repository at this point in the history
  • Loading branch information
t03i committed Nov 8, 2024
1 parent 30e8748 commit d527d53
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:
-v ${{ github.workspace }}/frontend:/app
-v ${{ github.workspace }}/shared:/app/src/lib/assets/shared
-e NODE_ENV=production
-e PUBLIC_API_URL=https://api-tmvisdb.rostlab.org
-e PUBLIC_GITHUB_REPO=t03i/TMvisDB
-e PUBLIC_MIN_PROTEIN_LENGTH=16
-e PUBLIC_MAX_PROTEIN_LENGTH=5500
-e PUBLIC_MAINTENANCE_MODE=false
-e PUBLIC_PROJECT_NAME=TMvisDB
-e PUBLIC_API_URL=${{ vars.PUBLIC_API_URL }}
-e PUBLIC_GITHUB_REPO=${{ github.repository }}
-e PUBLIC_MIN_PROTEIN_LENGTH=${{ vars.PUBLIC_MIN_PROTEIN_LENGTH }}
-e PUBLIC_MAX_PROTEIN_LENGTH=${{ vars.PUBLIC_MAX_PROTEIN_LENGTH }}
-e PUBLIC_MAINTENANCE_MODE=${{ vars.PUBLIC_MAINTENANCE_MODE }}
-e PUBLIC_PROJECT_NAME=${{ vars.PUBLIC_PROJECT_NAME }}
run: pnpm exec svelte-kit sync && pnpm run build

- name: Upload build artifact
Expand Down

0 comments on commit d527d53

Please sign in to comment.