diff --git a/.github/workflows/deploy-backend-dev.yml b/.github/workflows/deploy-backend-dev.yml index 8ba32b5f6..cd0b4c0c9 100644 --- a/.github/workflows/deploy-backend-dev.yml +++ b/.github/workflows/deploy-backend-dev.yml @@ -29,7 +29,7 @@ jobs: env: RECAPTCHA_CONFIG_JSON_BASE64: ${{ secrets.RECAPTCHA_CONFIG_JSON_BASE64 }} run: | - sed -i "s/RECAPTCHA_CONFIG_JSON_BASE64/${RECAPTCHA_CONFIG_JSON_BASE64//\//\\/}/g" utils/helper.go + sed -i "s/RECAPTCHA_CONFIG_JSON_BASE64/$(echo "$RECAPTCHA_CONFIG_JSON_BASE64" | sed -e 's/[\/&]/\\&/g')/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