Skip to content

Commit

Permalink
Merge pull request #64 from sparrowapp-dev/pratik/dev
Browse files Browse the repository at this point in the history
Added new ENV in workflow dev & prod both []
  • Loading branch information
punitkashyup authored Oct 10, 2024
2 parents e8fd205 + ac8e86d commit 0653546
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ on:
workflow_dispatch:

env:
VITE_API_URL: ${{ secrets.VITE_API_URL_DEV }}
VITE_SPARROW_SUPPORT_EMAIL: ${{ secrets.VITE_SPARROW_SUPPORT_EMAIL_DEV }}
VITE_SPARROW_OAUTH: ${{ secrets.VITE_SPARROW_OAUTH_DEV }}
VITE_ENABLE_MIX_PANEL: ${{ secrets.VITE_ENABLE_MIX_PANEL_DEV }}
VITE_MIX_PANEL_TOKEN: ${{ secrets.VITE_MIX_PANEL_TOKEN_DEV }}
VITE_TERMS_OF_SERVICE: ${{ secrets.VITE_TERMS_OF_SERVICE_DEV }}
VITE_API_URL: ${{ vars.VITE_API_URL_DEV }}
VITE_SPARROW_SUPPORT_EMAIL: ${{ vars.VITE_SPARROW_SUPPORT_EMAIL_DEV }}
VITE_SPARROW_OAUTH: ${{ vars.VITE_SPARROW_OAUTH_DEV }}
VITE_ENABLE_MIX_PANEL: ${{ vars.VITE_ENABLE_MIX_PANEL_DEV }}
VITE_MIX_PANEL_TOKEN: ${{ vars.VITE_MIX_PANEL_TOKEN_DEV }}
VITE_TERMS_OF_SERVICE: ${{ vars.VITE_TERMS_OF_SERVICE_DEV }}
VITE_SPARROW_PRIVACY_POLICY: ${{ vars.VITE_SPARROW_PRIVACY_POLICY_DEV }}

jobs:
build-and-deploy:
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ on:
workflow_dispatch:

env:
VITE_API_URL: ${{ secrets.VITE_API_URL }}
VITE_SPARROW_SUPPORT_EMAIL: ${{ secrets.VITE_SPARROW_SUPPORT_EMAIL }}
VITE_SPARROW_OAUTH: ${{ secrets.VITE_SPARROW_OAUTH }}
VITE_ENABLE_MIX_PANEL: ${{ secrets.VITE_ENABLE_MIX_PANEL }}
VITE_MIX_PANEL_TOKEN: ${{ secrets.VITE_MIX_PANEL_TOKEN }}
VITE_TERMS_OF_SERVICE: ${{ secrets.VITE_TERMS_OF_SERVICE }}
VITE_API_URL: ${{ vars.VITE_API_URL_PROD }}
VITE_SPARROW_SUPPORT_EMAIL: ${{ vars.VITE_SPARROW_SUPPORT_EMAIL_PROD }}
VITE_SPARROW_OAUTH: ${{ vars.VITE_SPARROW_OAUTH_PROD }}
VITE_ENABLE_MIX_PANEL: ${{ vars.VITE_ENABLE_MIX_PANEL_PROD }}
VITE_MIX_PANEL_TOKEN: ${{ vars.VITE_MIX_PANEL_TOKEN_PROD }}
VITE_TERMS_OF_SERVICE: ${{ vars.VITE_TERMS_OF_SERVICE_PROD }}
VITE_SPARROW_PRIVACY_POLICY: ${{ vars.VITE_SPARROW_PRIVACY_POLICY_PROD }}

jobs:
build-and-deploy:
Expand Down

0 comments on commit 0653546

Please sign in to comment.