Astro build on code changes
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
3wc 2024-05-20 01:08:42 -03:00
parent b83ce8c97a
commit b8b10670f9

View File

@ -14,6 +14,13 @@ steps:
registry: git.autonomic.zone
context: astro
dockerfile: astro/Dockerfile
trigger: &exclude-event-custom
branch:
- main
event:
exclude:
- custom
- name: publish payload dev container
image: plugins/docker
settings: &payload-build-settings
@ -23,6 +30,9 @@ steps:
context: payload
dockerfile: payload/Dockerfile
target: dev
trigger:
>>: &exclude-event-custom
- name: publish payload prod container
image: plugins/docker
settings:
@ -30,6 +40,9 @@ steps:
username: 3wordchant
repo: git.autonomic.zone/autonomic-cooperative/astro-payload-test-payload
target: prod
trigger:
>>: &exclude-event-custom
- name: deploy stack
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
settings:
@ -50,17 +63,9 @@ steps:
PAYLOAD_URL: "https://admin.paystro.swarm-demo.autonomic.zone"
depends_on:
- publish payload prod container
trigger:
branch:
- main
event:
exclude:
- custom
---
kind: pipeline
name: build astro
trigger:
>>: &exclude-event-custom
steps:
- name: build astro content
image: git.autonomic.zone/autonomic-cooperative/astro-payload-test-astro:latest
environment:
@ -80,7 +85,3 @@ steps:
dest: /usr/share/nginx/html/
deploy_key:
from_secret: drone_ssh_swarm-demo.autonomic.zone
trigger:
event:
- custom