🚀 (.gitea/workflows/on_release.yml): Uncomment curl command to enable deployment on release
All checks were successful
Creates a docker image for production / Build the docker image (push) Successful in 27s
All checks were successful
Creates a docker image for production / Build the docker image (push) Successful in 27s
⬆️ (Dockerfile): Update Dockerfile to use uppercase 'AS' for better readability and consistency
This commit is contained in:
@@ -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/mines/frontend",
|
||||
# "service": "mines_frontend",
|
||||
# "version": "${{ github.ref_name }}",
|
||||
# "pipeline": "${{ github.run_number }}",
|
||||
# "repository": "mines/frontend"
|
||||
# }'
|
||||
curl --location --silent 'https://deployer.makecodes.dev/deploy' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header "Authorization: Bearer $TOKEN" \
|
||||
--data '{
|
||||
"image": "docker.nexus.makecodes.dev/mines/frontend",
|
||||
"service": "mines_frontend",
|
||||
"version": "${{ github.ref_name }}",
|
||||
"pipeline": "${{ github.run_number }}",
|
||||
"repository": "mines/frontend"
|
||||
}'
|
||||
env:
|
||||
USERNAME: ${{ secrets.SERVER_AUTH_USERNAME }}
|
||||
PASSWORD: ${{ secrets.SERVER_AUTH_PASSWORD }}
|
||||
|
||||
Reference in New Issue
Block a user