Skip to content

Commit

Permalink
fix dotenv secret names
Browse files Browse the repository at this point in the history
  • Loading branch information
alecananian committed Jan 19, 2024
1 parent 66ee0c6 commit 8a5ed59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-login.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
uses: superfly/flyctl-actions/setup-flyctl@master
- name: Deploy development
if: ${{ inputs.environment == 'development' }}
run: flyctl deploy --config ./fly.login.toml --app ${{ steps.app_name.outputs.value }}-dev --remote-only --build-secret dotenv="${{ secrets.ENV_PROD }}"
run: flyctl deploy --config ./fly.login.toml --app ${{ steps.app_name.outputs.value }}-dev --remote-only --build-secret dotenv="${{ secrets.ENV_DEV }}"
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
- name: Deploy production
if: ${{ inputs.environment == 'production' }}
run: flyctl deploy --config ./fly.login.toml --remote-only --build-secret dotenv="${{ secrets.ENV_DEV }}"
run: flyctl deploy --config ./fly.login.toml --remote-only --build-secret dotenv="${{ secrets.ENV_PROD }}"
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

0 comments on commit 8a5ed59

Please sign in to comment.