Skip to content

Commit

Permalink
Merge pull request #31 from brandonnorsworthy/deployments
Browse files Browse the repository at this point in the history
update pipeline
  • Loading branch information
brandonnorsworthy authored Aug 30, 2024
2 parents 09a88dd + 131a280 commit 069e15c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cicd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:

- name: Run tests
env:
NODE_ENV: ${{ github.env }}
API_URL: ${{ secrets.API_URL }}
NODE_ENV: dev
API_URL: ${{ secrets.VITE_API_URL }}
run: npm test

- name: Copy files to dist
Expand All @@ -36,8 +36,8 @@ jobs:
- name: Create environment file
run: |
echo "NODE_ENV=${{ github.env }}" > dist/.env
echo "VITE_API_URL=${{ secrets.API_URL }}" >> dist/.env
echo "NODE_ENV=dev" > dist/.env
echo "VITE_API_URL=${{ secrets.VITE_API_URL }}" >> dist/.env
- name: Create tarball
run: |
Expand Down

0 comments on commit 069e15c

Please sign in to comment.