diff --git a/.drone.yml b/.drone.yml index ad3d166..0a1e592 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,31 +2,31 @@ kind: pipeline name: publish pipeline steps: - - name: publish jekyll container - image: plugins/docker - 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 - when: - branch: - - main - event: - exclude: - - custom + - name: publish jekyll container + image: plugins/docker + 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 + when: + branch: + - main + event: + exclude: + - custom - - name: deploy-site - image: git.coopcloud.tech/coop-cloud/docker-cp-deploy:latest - settings: - host: small-clients.autonomic.zone - service: kcl_autonomic_zone_app - source: /srv/jekyll/dist/ - dest: /usr/share/nginx/html/ - exec_pre: rm -rf /usr/share/nginx/html/* - deploy_key: - from_secret: drone_ssh_swarm-demo.autonomic.zone - depends_on: - - publish-jekyll-container \ No newline at end of file + - name: deploy-site + image: git.coopcloud.tech/coop-cloud/docker-cp-deploy:latest + settings: + host: small-clients.autonomic.zone + service: kcl_autonomic_zone_app + source: /srv/jekyll/dist/ + dest: /usr/share/nginx/html/ + exec_pre: rm -rf /usr/share/nginx/html/* + deploy_key: + from_secret: drone_ssh_swarm-demo.autonomic.zone + depends_on: + - publish-jekyll-container \ No newline at end of file