Skip to content

Commit

Permalink
Merge pull request #176 from jdi-testing/ci-fix-attempt
Browse files Browse the repository at this point in the history
Load environment variables by reading .env.dist file
  • Loading branch information
ivnglkv authored Jan 31, 2024
2 parents b3e7cb6 + a3bc084 commit 997d13a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/.release-workflow-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ jobs:
uses: actions/checkout@v3
with:
submodules: true
- name: Use default environment settings
run: cp .env.dist .env
- name: Load default environment variables values
uses: cardinalby/export-env-action@v2
with:
envFile: '.env.dist'
- name: Build
run: docker compose -f docker-compose.dev.yaml up -d
- name: Lint and Test
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/.release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ jobs:
with:
commit_message: increment version
branch: develop
- name: Use default environment settings
run: cp .env.dist .env
- name: Load default environment variables values
uses: cardinalby/export-env-action@v2
with:
envFile: '.env.dist'
- name: Build
run: docker compose -f docker-compose.dev.yaml up -d
- name: Lint and Test
Expand Down

0 comments on commit 997d13a

Please sign in to comment.