Habilitando deploy automático
Some checks failed
Creates a docker image for production / Build the docker image (push) Successful in 1m7s
Build / Code quality (push) Has been cancelled

This commit is contained in:
2025-02-05 10:34:00 -03:00
parent 50690f01cf
commit 96afac4789

View File

@@ -40,16 +40,16 @@ jobs:
"email": "'$USERNAME'",
"password": "'$PASSWORD'"
}' | jq -r '.token')
# curl --location --silent 'https://deployer.makecodes.dev/deploy' \
# --header 'Content-Type: application/json' \
# --header "Authorization: Bearer $TOKEN" \
# --data '{
# "image": "docker.nexus.makecodes.dev/makecodes/nfe-vision",
# "service": "nfe-vision_app",
# "version": "${{ github.ref_name }}",
# "pipeline": "${{ github.run_number }}",
# "repository": "makecodes/nfe-vision"
# }'
curl --location --silent 'https://deployer.makecodes.dev/deploy' \
--header 'Content-Type: application/json' \
--header "Authorization: Bearer $TOKEN" \
--data '{
"image": "docker.nexus.makecodes.dev/mines/backend",
"service": "nfe-vision_app",
"version": "${{ github.ref_name }}",
"pipeline": "${{ github.run_number }}",
"repository": "mines/backend"
}'
# curl --location --silent 'https://deployer.makecodes.dev/deploy' \
# --header 'Content-Type: application/json' \
# --header "Authorization: Bearer $TOKEN" \