Skip to content

Commit 4e31083

Browse files
VIA-598 Add missing quotes to deploy job
1 parent 363075a commit 4e31083

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cicd-3-deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222
AWS_REGION: eu-west-2
2323

2424
jobs:
25-
metadata:
25+
metadata2:
2626
name: "Set CI/CD metadata"
2727
runs-on: ubuntu-latest
2828
timeout-minutes: 1
@@ -41,7 +41,7 @@ jobs:
4141
- name: "Check version exists"
4242
shell: bash
4343
run: |
44-
RELEASE_VERSION=$(git tag | grep -oP "^${{inputs.version-to-deploy}}$")
44+
RELEASE_VERSION="$(git tag | grep -oP '^${{inputs.version-to-deploy}}$')"
4545
if [[ -z "$RELEASE_VERSION" ]]; then
4646
echo "Invalid version number ${{inputs.version-to-deploy}} does not exist."
4747
exit 1

0 commit comments

Comments
 (0)