From d50f9bd41317f38ce3b14d0811dd082f07b9617e Mon Sep 17 00:00:00 2001 From: Rick Anderson Date: Wed, 22 May 2024 14:33:53 -0700 Subject: [PATCH] changing path to deploy folder for sed --- .github/workflows/api-build-and-push.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/api-build-and-push.yml b/.github/workflows/api-build-and-push.yml index 470020ed..94e1bdc5 100644 --- a/.github/workflows/api-build-and-push.yml +++ b/.github/workflows/api-build-and-push.yml @@ -169,16 +169,16 @@ jobs: if [[ "$GITHUB_REF" == "refs/heads/main" ]]; then echo "This is the main branch" - sed -i "s/tag: .*/tag: $IMAGE_TAG # Image Updated on $DATETIME/" ../../deploy/prod_values.yaml + sed -i "s/tag: .*/tag: $IMAGE_TAG # Image Updated on $DATETIME/" deploy/prod_values.yaml elif [[ "$GITHUB_REF" == "refs/heads/emerald" ]]; then echo "This is the emerald branch" - sed -i "s/tag: .*/tag: $IMAGE_TAG # Image Updated on $DATETIME/" ../../deploy/dev_values.yaml + sed -i "s/tag: .*/tag: $IMAGE_TAG # Image Updated on $DATETIME/" deploy/dev_values.yaml elif [[ "$GITHUB_REF" == "refs/heads/test" ]]; then echo "This is the test branch" - sed -i "s/tag: .*/tag: $IMAGE_TAG # Image Updated on $DATETIME/" ../../deploy/test_values.yaml + sed -i "s/tag: .*/tag: $IMAGE_TAG # Image Updated on $DATETIME/" deploy/test_values.yaml else echo updating dev values for CIs - sed -i "s/tag: .*/tag: $IMAGE_TAG # Image Updated on $DATETIME/" ../../deploy/dev_values.yaml + sed -i "s/tag: .*/tag: $IMAGE_TAG # Image Updated on $DATETIME/" deploy/dev_values.yaml fi