diff --git a/.drone.yml b/.drone.yml index c3d27a8..62d41c6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,7 +14,7 @@ steps: registry: git.autonomic.zone context: astro dockerfile: astro/Dockerfile - trigger: &exclude-event-custom + when: &exclude-event-custom branch: - main event: @@ -30,8 +30,8 @@ steps: context: payload dockerfile: payload/Dockerfile target: dev - trigger: - << *exclude-event-custom + when: + <<: *exclude-event-custom - name: publish payload prod container image: plugins/docker @@ -40,8 +40,8 @@ steps: username: 3wordchant repo: git.autonomic.zone/autonomic-cooperative/astro-payload-test-payload target: prod - trigger: - << *exclude-event-custom + when: + <<: *exclude-event-custom - name: deploy stack image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest @@ -63,8 +63,8 @@ steps: PAYLOAD_URL: "https://admin.paystro.swarm-demo.autonomic.zone" depends_on: - publish payload prod container - trigger: - << *exclude-event-custom + when: + <<: *exclude-event-custom - name: build astro content image: git.autonomic.zone/autonomic-cooperative/astro-payload-test-astro:latest