Skip to content

Commit

Permalink
[github-actions] use strict regex for env mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
dennybaa committed Jun 24, 2021
1 parent 9d54f4a commit d81870b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ jobs:
key: "${{ github.event.deployment.environment }}"
map: |
{
"mainnet": {
"^mainnet$": {
"KUBECONF": "KUBECONF_MAINNET",
"HFENV": "prod",
"RUNNER": "mainnet"
},
"rinkeby": {
"^rinkeby$": {
"KUBECONF": "KUBECONF_TESTNET",
"HFENV": "${{ github.event.deployment.environment }}",
"RUNNER": "testnet"
},
"ropsten": {
"^ropsten$": {
"KUBECONF": "KUBECONF_TESTNET",
"HFENV": "${{ github.event.deployment.environment }}",
"RUNNER": "testnet"
Expand Down

0 comments on commit d81870b

Please sign in to comment.