Skip to content

Commit

Permalink
fix instance prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
zkokelj committed Aug 23, 2024
1 parent 276e23b commit d814f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/manual-deploy-obscuro-gateway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: 'Set up environment variables'
id: setup_env
run: |
INSTANCE_PREFIX="${{ github.event.inputs.instance_type == 'primary' && '' || format('{}-', github.event.inputs.instance_type) | toUpper }}"
INSTANCE_PREFIX=$(echo "${{ github.event.inputs.instance_type == 'primary' && '' || format('{}-', github.event.inputs.instance_type) }}" | tr '[:lower:]' '[:upper:]')
INSTANCE_SUFFIX="${{ github.event.inputs.instance_type == 'primary' && '' || format('-{}', github.event.inputs.instance_type) }}"
echo "INSTANCE_SUFFIX=$INSTANCE_SUFFIX" >> $GITHUB_ENV
Expand Down

0 comments on commit d814f85

Please sign in to comment.