mirror of
https://codeberg.org/JasterV/spazio-solazzo.git
synced 2026-04-27 02:25:40 +00:00
feat: implement automatic deploy to coolify instance
This commit is contained in:
parent
6789fd3c08
commit
a6022cc725
1 changed files with 13 additions and 13 deletions
|
|
@ -17,16 +17,16 @@ steps:
|
||||||
dockerfile: "Dockerfile"
|
dockerfile: "Dockerfile"
|
||||||
tags: sha-${CI_COMMIT_SHA},latest
|
tags: sha-${CI_COMMIT_SHA},latest
|
||||||
|
|
||||||
# deploy:
|
deploy:
|
||||||
# image: alpine:latest
|
image: alpine:latest
|
||||||
# environment:
|
environment:
|
||||||
# DEPLOY_URL:
|
DEPLOY_URL:
|
||||||
# from_secret: COOLIFY_DEPLOY_WEBHOOK
|
from_secret: COOLIFY_DEPLOY_WEBHOOK
|
||||||
# DEPLOY_TOKEN:
|
DEPLOY_TOKEN:
|
||||||
# from_secret: COOLIFY_DEPLOY_API_TOKEN
|
from_secret: COOLIFY_DEPLOY_API_TOKEN
|
||||||
# commands:
|
commands:
|
||||||
# - apk add --no-cache curl
|
- apk add --no-cache curl
|
||||||
# - |
|
- |
|
||||||
# curl --request GET "$${DEPLOY_URL}" \
|
curl --request GET "$DEPLOY_URL" \
|
||||||
# --header "Authorization: Bearer $${DEPLOY_TOKEN}" \
|
--header "Authorization: Bearer $DEPLOY_TOKEN" \
|
||||||
# --header "Content-Type: application/json"
|
--header "Content-Type: application/json"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue