From adbf3c136e85e2fe4cb1bcdce4a3946f8ac7a7d7 Mon Sep 17 00:00:00 2001 From: cp-dharti-r Date: Wed, 24 Apr 2024 11:44:30 +0530 Subject: [PATCH] Use hash --- .github/workflows/deploy-backend-dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-backend-dev.yml b/.github/workflows/deploy-backend-dev.yml index bebf31c01..76a25ac0d 100644 --- a/.github/workflows/deploy-backend-dev.yml +++ b/.github/workflows/deploy-backend-dev.yml @@ -30,7 +30,7 @@ jobs: RECAPTCHA_CONFIG_JSON_BASE64: ${{ secrets.RECAPTCHA_CONFIG_JSON_BASE64 }} run: | escaped_value=$(printf '%s\n' "$RECAPTCHA_CONFIG_JSON_BASE64" | sed -e 's/[\/&]/\\&/g') - sed -i "s/RECAPTCHA_CONFIG_JSON_BASE64/$escaped_value/g" utils/helper.go + sed -i "s#RECAPTCHA_CONFIG_JSON_BASE64#$escaped_value#g" utils/helper.go apt-get update && apt-get install -y zip GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o main main.go zip canopas_serverless_dev_${{ github.sha }}.zip main