Skip to content

Commit

Permalink
cheking env
Browse files Browse the repository at this point in the history
  • Loading branch information
feniln64 committed May 4, 2024
1 parent ae057b3 commit d68d575
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,17 @@ jobs:
- name: Install dependencies
run: npm ci

- name: create .env file
run: |
echo "REACT_APP_POSTHOG_API_TOKEN=${{secrets.REACT_APP_POSTHOG_API_TOKEN}}" > .env
echo "REACT_APP_POSTHOG_URL=${{secrets.REACT_APP_POSTHOG_URL}}" >> .env
- name: Build the app
run: npm run build
env:
CI: false
REACT_APP_PUBLIC_POSTHOG_KEY: ${{ secrets.REACT_APP_PUBLIC_POSTHOG_KEY }}
REACT_APP_PUBLIC_POSTHOG_HOST: ${{ secrets.REACT_APP_PUBLIC_POSTHOG_HOST }}


- name: install firebase tools
run: npm install -g firebase-tools

Expand Down

0 comments on commit d68d575

Please sign in to comment.