Skip to content

Commit

Permalink
move envs back
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonnorsworthy authored Sep 23, 2024
1 parent e0635dd commit e5bd3eb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cicd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
- name: Install dependencies
run: npm install

- name: Build the project
run: npm run build

- name: Create environment file
run: |
echo "NODE_ENV=production" > dist/.env
echo "VITE_API_URL=${{ secrets.VITE_API_URL }}" >> dist/.env
echo "NODE_ENV=production" > .env
echo "VITE_API_URL=${{ secrets.VITE_API_URL }}" >> .env
- name: Build the project
run: npm run build

# - name: Run tests
# env:
Expand Down

0 comments on commit e5bd3eb

Please sign in to comment.