Skip to content

Commit

Permalink
Use hash
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-dharti-r committed Apr 24, 2024
1 parent 7d7edee commit adbf3c1
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 @@ -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
Expand Down

0 comments on commit adbf3c1

Please sign in to comment.