diff --git a/.drone.yml b/.drone.yml index d898e5f..543f13a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,12 +13,22 @@ steps: repo: codeberg.org/angestoepselt/homepage build_args: - SITE=angestoepselt - tags: ${DRONE_BRANCH} - when: - branch: [captcha] + tags: + - latest + - ${DRONE_BRANCH} -- name: deploy +- name: deploy stage build image: plugins/webhook settings: urls: - from_secret: portainer_url \ No newline at end of file + from_secret: portainer_stage_url + when: + branch: [captcha] + +- name: deploy live build + image: plugins/webhook + settings: + urls: + from_secret: portainer_main_url + when: + branch: [main] \ No newline at end of file