Skip to content

Commit

Permalink
version: 0.2.7 - stability/performance improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
richiemcilroy committed Jul 9, 2024
1 parent 5ffce66 commit 4de3073
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,15 @@ jobs:
id: get_version
run: echo "appVersion=$(jq -r '.version' apps/desktop/package.json)" >> $GITHUB_OUTPUT

- name: Create .env file
- name: Create .env file in root
run: |
echo "NEXT_PUBLIC_URL=${{ secrets.NEXT_PUBLIC_URL }}" > apps/desktop/.env
echo "appVersion=${{ steps.get_version.outputs.appVersion }}" >> apps/desktop/.env
echo "NEXT_PUBLIC_ENVIRONMENT=production" >> apps/desktop/.env
echo "NEXT_PUBLIC_LOCAL_MODE=false" >> apps/desktop/.env
echo "NEXT_PUBLIC_URL=${{ secrets.NEXT_PUBLIC_URL }}" > .env
echo "appVersion=${{ steps.get_version.outputs.appVersion }}" >> .env
echo "NEXT_PUBLIC_ENVIRONMENT=production" >> .env
echo "NEXT_PUBLIC_LOCAL_MODE=false" >> .env
- name: Copy .env to apps/desktop
run: cp .env apps/desktop/.env

- name: Output .env file
run: cat apps/desktop/.env
Expand Down

0 comments on commit 4de3073

Please sign in to comment.