Habilitando deploy automático
This commit is contained in:
@@ -40,16 +40,16 @@ jobs:
|
|||||||
"email": "'$USERNAME'",
|
"email": "'$USERNAME'",
|
||||||
"password": "'$PASSWORD'"
|
"password": "'$PASSWORD'"
|
||||||
}' | jq -r '.token')
|
}' | jq -r '.token')
|
||||||
# curl --location --silent 'https://deployer.makecodes.dev/deploy' \
|
curl --location --silent 'https://deployer.makecodes.dev/deploy' \
|
||||||
# --header 'Content-Type: application/json' \
|
--header 'Content-Type: application/json' \
|
||||||
# --header "Authorization: Bearer $TOKEN" \
|
--header "Authorization: Bearer $TOKEN" \
|
||||||
# --data '{
|
--data '{
|
||||||
# "image": "docker.nexus.makecodes.dev/makecodes/nfe-vision",
|
"image": "docker.nexus.makecodes.dev/mines/backend",
|
||||||
# "service": "nfe-vision_app",
|
"service": "nfe-vision_app",
|
||||||
# "version": "${{ github.ref_name }}",
|
"version": "${{ github.ref_name }}",
|
||||||
# "pipeline": "${{ github.run_number }}",
|
"pipeline": "${{ github.run_number }}",
|
||||||
# "repository": "makecodes/nfe-vision"
|
"repository": "mines/backend"
|
||||||
# }'
|
}'
|
||||||
# curl --location --silent 'https://deployer.makecodes.dev/deploy' \
|
# curl --location --silent 'https://deployer.makecodes.dev/deploy' \
|
||||||
# --header 'Content-Type: application/json' \
|
# --header 'Content-Type: application/json' \
|
||||||
# --header "Authorization: Bearer $TOKEN" \
|
# --header "Authorization: Bearer $TOKEN" \
|
||||||
|
|||||||
Reference in New Issue
Block a user