Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-dharti-r committed Apr 24, 2024
1 parent b052cad commit a125dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-backend-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a125dac

Please sign in to comment.