Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jowparks committed Apr 3, 2024
1 parent 98e4f7b commit 4d2e67b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ jobs:
- name: Set mainnet
id: set-mainnet
run: |
echo "mainnet=$(if [[ "${{ github.event_name }}" == "workflow_dispatch" && "${{ github.event.inputs.network }}" == "mainnet" ]] || [[ "${{ github.event_name }}" == "release" && "${{ github.event.action }}" == "published" ]]; then echo "true"; else echo "false"; fi)" >> $GITHUB_ENV
echo "MAINNET=$(if [[ "${{ github.event_name }}" == "workflow_dispatch" && "${{ github.event.inputs.network }}" == "mainnet" ]] || [[ "${{ github.event_name }}" == "release" && "${{ github.event.action }}" == "published" ]]; then echo "true"; else echo "false"; fi)" >> $GITHUB_ENV
- name: Set variables
id: set-vars
run: |
echo "aws-region=$(if [[ "${{ steps.set-mainnet.outputs.mainnet }}" == "true" ]]; then echo "us-east-1"; else echo "us-west-1"; fi)" >> $GITHUB_ENV
echo "environment-name=$(if [[ "${{ steps.set-mainnet.outputs.mainnet }}" == "true" ]]; then echo "wallet-server"; else echo "testnet-wallet-server"; fi)" >> $GITHUB_ENV
echo "AWS_REGION=$(if [[ "${{ steps.set-mainnet.outputs.mainnet }}" == "true" ]]; then echo "us-east-1"; else echo "us-west-1"; fi)" >> $GITHUB_ENV
echo "ENVIRONMENT_NAME=$(if [[ "${{ steps.set-mainnet.outputs.mainnet }}" == "true" ]]; then echo "wallet-server"; else echo "testnet-wallet-server"; fi)" >> $GITHUB_ENV
build-and-push-image:
runs-on: ubuntu-latest
env:
MAINNET: ${{ needs.setup.outputs.mainnet }}
MAINNET: ${{ needs.setup.outputs.MAINNET }}
needs: setup
permissions:
contents: read
Expand Down

0 comments on commit 4d2e67b

Please sign in to comment.