diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index 62cf69b..f58ea6a 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -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: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dabe709..c4aa522 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: