diff --git a/.github/workflows/deploy-backend-dev.yml b/.github/workflows/deploy-backend-dev.yml index 440a66404..7178b1b33 100644 --- a/.github/workflows/deploy-backend-dev.yml +++ b/.github/workflows/deploy-backend-dev.yml @@ -28,7 +28,7 @@ jobs: - name: Build backend and copy zip to S3 run: | echo "${{ secrets.RECAPTCHA_CONFIG_JSON_BASE64 }}" | base64 -d > temp.json - sed -i "s/RECAPTCHA_CONFIG_JSON_BASE64/$(< temp.json)/g" utils/helper.go + sed -i "s/RECAPTCHA_CONFIG_JSON_BASE64/$(sed 's:/:\\/:g' temp.json)/g" utils/helper.go rm temp.json apt-get update && apt-get install -y zip GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o main main.go