2024-07-10 07:56:42 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: publish pipeline
|
|
|
|
steps:
|
2024-07-10 08:04:51 +00:00
|
|
|
- name: publish jekyll container
|
|
|
|
image: plugins/docker
|
2024-07-10 08:06:03 +00:00
|
|
|
settings: &docker-build-settings
|
|
|
|
username: 3wordchant
|
|
|
|
password:
|
|
|
|
from_secret: git_autonomic_zone_token_3wc
|
|
|
|
repo: git.autonomic.zone/autonomic-cooperative/kcl-site
|
|
|
|
auto_tag: true
|
|
|
|
registry: git.autonomic.zone
|
2024-07-10 08:04:51 +00:00
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- main
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- custom
|
2024-07-10 07:56:42 +00:00
|
|
|
|
2024-07-10 08:04:51 +00:00
|
|
|
- name: deploy-site
|
2024-07-15 16:12:48 +00:00
|
|
|
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
2024-07-10 08:04:51 +00:00
|
|
|
settings:
|
2024-07-15 16:12:48 +00:00
|
|
|
stack: kcl_smallclients_autonomic_zone
|
2024-07-10 08:14:22 +00:00
|
|
|
host: smallclients.autonomic.zone
|
2024-07-15 16:12:48 +00:00
|
|
|
compose: docker-compose.yml
|
2024-07-10 08:04:51 +00:00
|
|
|
deploy_key:
|
2024-07-10 08:15:39 +00:00
|
|
|
from_secret: drone_ssh_smallclients.autonomic.zone
|
2024-07-10 08:14:22 +00:00
|
|
|
environment:
|
|
|
|
DOMAIN: kcl.smallclients.autonomic.zone
|
|
|
|
STACK_NAME: kcl_smallclients_autonomic_zone
|
2024-07-15 16:25:54 +00:00
|
|
|
NGINX_CONF_VERSION: v2
|
2024-07-10 08:14:22 +00:00
|
|
|
REPOSITORY: "autonomic-cooperative/kcl-site"
|
2024-07-10 08:04:51 +00:00
|
|
|
depends_on:
|
2024-07-10 08:06:31 +00:00
|
|
|
- publish jekyll container
|