🔧 (on_release.yml): Remove unnecessary echo statements from deployment script for cleaner logs and better security
All checks were successful
Creates a docker image for production / Build the docker image (push) Successful in 37s
Build / Code quality (push) Successful in 10m10s

This commit is contained in:
2025-02-05 10:49:34 -03:00
parent c7ca9f9442
commit 0397465ec3

View File

@@ -34,14 +34,12 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
- name: Deploy to production server
run: |
echo "${{ github.ref_name }} - ${{ github.run_number }}"
TOKEN=$(curl --silent --location 'https://auth.makecodes.dev/auth' \
--header 'Content-Type: application/json' \
--data '{
"email": "'$USERNAME'",
"password": "'$PASSWORD'"
}' | jq -r '.token')
echo $TOKEN
curl --location --silent 'https://deployer.makecodes.dev/deploy' \
--header 'Content-Type: application/json' \
--header "Authorization: Bearer $TOKEN" \