Skip to content

Commit

Permalink
Make Prettier happy, fix YAML syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
michalinacienciala committed Sep 5, 2023
1 parent a87ef64 commit b6b2e2e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,13 @@ jobs:
# are empty, the expressions will be evaluated to the `SEPOLIA...`
# ones.
CHAIN_API_URL: |
${{ inputs.github.event.inputs.environment == 'goerli' \
&& secrets.GOERLI_ETH_HOSTNAME_HTTP \
${{ inputs.github.event.inputs.environment == 'goerli'
&& secrets.GOERLI_ETH_HOSTNAME_HTTP
|| secrets.SEPOLIA_ETH_HOSTNAME_HTTP }}
ACCOUNTS_PRIVATE_KEYS: |
${{ inputs.github.event.inputs.environment == 'goerli' \
&& secrets.GOERLI_ETH_CONTRACT_OWNER_PRIVATE_KEY \
|| secrets.SEPOLIA_ETH_CONTRACT_OWNER_PRIVATE_KEY }}
${{ inputs.github.event.inputs.environment == 'goerli'
&& secrets.GOERLI_ETH_CONTRACT_OWNER_PRIVATE_KEY
|| secrets.SEPOLIA_ETH_CONTRACT_OWNER_PRIVATE_KEY }}
run: yarn deploy --network ${{ github.event.inputs.environment }}

- name: Bump up package version
Expand Down Expand Up @@ -283,8 +283,8 @@ jobs:
# is empty, the expression will be evaluated to the `SEPOLIA...`
# one.
CHAIN_API_URL: |
${{ inputs.github.event.inputs.environment == 'goerli' \
&& secrets.GOERLI_ETH_HOSTNAME_HTTP \
${{ inputs.github.event.inputs.environment == 'goerli'
&& secrets.GOERLI_ETH_HOSTNAME_HTTP
|| secrets.SEPOLIA_ETH_HOSTNAME_HTTP }}
run: yarn run hardhat --network ${{ github.event.inputs.environment }} etherscan-verify

Expand Down Expand Up @@ -348,13 +348,13 @@ jobs:
# are empty, the expressions will be evaluated to the `SEPOLIA...`
# ones.
CHAIN_API_URL: |
${{ inputs.github.event.inputs.environment == 'goerli' \
&& secrets.GOERLI_ETH_HOSTNAME_HTTP \
${{ inputs.github.event.inputs.environment == 'goerli'
&& secrets.GOERLI_ETH_HOSTNAME_HTTP
|| secrets.SEPOLIA_ETH_HOSTNAME_HTTP }}
ACCOUNTS_PRIVATE_KEYS: |
${{ inputs.github.event.inputs.environment == 'goerli' \
&& secrets.DAPP_DEV_GOERLI_ETH_CONTRACT_OWNER_PRIVATE_KEY \
|| secrets.DAPP_DEV_SEPOLIA_ETH_CONTRACT_OWNER_PRIVATE_KEY }}
${{ inputs.github.event.inputs.environment == 'goerli'
&& secrets.DAPP_DEV_GOERLI_ETH_CONTRACT_OWNER_PRIVATE_KEY
|| secrets.DAPP_DEV_SEPOLIA_ETH_CONTRACT_OWNER_PRIVATE_KEY }}
run: yarn deploy --network ${{ github.event.inputs.environment }}

- name: Bump up package version
Expand Down

0 comments on commit b6b2e2e

Please sign in to comment.