mirror of
https://codeberg.org/angestoepselt/homepage.git
synced 2025-05-24 14:46:16 +00:00
update pipeline
This commit is contained in:
parent
723f94ce40
commit
90e2d626f1
1 changed files with 11 additions and 9 deletions
20
.drone.yml
20
.drone.yml
|
|
@ -13,27 +13,29 @@ steps:
|
||||||
repo: codeberg.org/angestoepselt/homepage
|
repo: codeberg.org/angestoepselt/homepage
|
||||||
build_args:
|
build_args:
|
||||||
- SITE=angestoepselt
|
- SITE=angestoepselt
|
||||||
tags: latest
|
tags: ${DRONE_BRANCH}
|
||||||
when:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
- captcha
|
- captcha
|
||||||
|
|
||||||
- name: deploy stage build
|
- name: deploy stage build
|
||||||
image: plugins/webhook
|
image: plugins/webhook
|
||||||
settings:
|
settings:
|
||||||
urls:
|
urls:
|
||||||
from_secret: portainer_stage_url
|
from_secret: portainer_stage_url
|
||||||
when:
|
trigger:
|
||||||
branch: [captcha]
|
branch:
|
||||||
|
- captcha
|
||||||
|
|
||||||
- name: deploy live build
|
- name: deploy live build
|
||||||
image: plugins/webhook
|
image: plugins/webhook
|
||||||
settings:
|
settings:
|
||||||
urls:
|
urls:
|
||||||
from_secret: portainer_main_url
|
from_secret: portainer_main_url
|
||||||
when:
|
trigger:
|
||||||
branch: [main]
|
branch:
|
||||||
|
- main
|
||||||
|
|
||||||
- name: send notification
|
- name: send notification
|
||||||
image: plugins/webhook
|
image: plugins/webhook
|
||||||
|
|
@ -49,4 +51,4 @@ steps:
|
||||||
"owner": "{{ repo.owner }}",
|
"owner": "{{ repo.owner }}",
|
||||||
"repo": "{{ repo.name }}",
|
"repo": "{{ repo.name }}",
|
||||||
"status": "{{ build.status }}",
|
"status": "{{ build.status }}",
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue