Skip to content

Commit

Permalink
Fix env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandru Bereghici committed Aug 23, 2021
1 parent f306fe9 commit 4fcfd9b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
working-directory: ${{ matrix.app-dir }}
if: ${{ contains(steps.changed_projects.outputs.projects, matrix.app) }}
run: |
cp ./env_overrides/development.ini .env.production
cp ./env_overrides/development.ini .env.local
node $GITHUB_WORKSPACE/common/scripts/install-run-rush.js build --verbose --to-except ${{ matrix.app }}
npx netlify-cli build
PROD_FLAG="${{ github.event_name == 'pull_request' && '' || '--prod' }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_blog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
- name: Build blog app
working-directory: apps/blog
run: |
cp ./env_overrides/production.ini .env.production
cp ./env_overrides/production.ini .env.local
node $GITHUB_WORKSPACE/common/scripts/install-run-rush.js build --verbose --to-except @bereghici/blog-app
npx netlify-cli build
npx netlify-cli deploy --prod
Expand Down
2 changes: 1 addition & 1 deletion apps/blog/public/sw.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4fcfd9b

Please sign in to comment.