Skip to content

Commit

Permalink
chore(*): add production env
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedorrychkov committed Sep 25, 2024
1 parent 3484109 commit 0fda74d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/production-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ jobs:
with:
node-version: 20

- name: 📥 Install dependencies
- name: Create env and service-account.json files
run: |
npm install --legacy-peer-deps
echo "NODE_ENV=production" >> .env
echo '${{ secrets.PRIVATE_ENV }}' >> .env
- name: Create env and service-account.json files
- name: 📥 Install dependencies
run: |
echo '${{ vars.PRIVATE_ENV }}' >> .env
npm install --legacy-peer-deps
- name: 🚀 Build project
run: npm run build:prod
Expand Down

0 comments on commit 0fda74d

Please sign in to comment.