Skip to content

Commit

Permalink
Load environmental variables from file
Browse files Browse the repository at this point in the history
  • Loading branch information
Pechenux committed Apr 27, 2024
1 parent 542df24 commit bb1613a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/check-frontend-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
SERVER_PROTOCOL: http
SERVER_IP: localhost
SERVER_PORT: 5000
CMS_PROTOCOL: http
CMS_IP: localhost
CMS_PORT: 1337
steps:
- uses: actions/checkout@v4

Expand All @@ -22,6 +15,13 @@ jobs:
with:
node-version-file: 'web-app/client/.nvmrc'

- name: Load .env.example file
uses: falti/[email protected]
with:
path: web-app/client/.env.example
export-variables: true
keys-case: bypass

- name: Install server dependencies
working-directory: web-app/server
run: yarn install --immutable
Expand Down

0 comments on commit bb1613a

Please sign in to comment.