Add Drone autodeployment config
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
3wc 2024-06-10 20:48:02 -05:00
parent d5c1eb806c
commit 204ccc27aa

View File

@ -5,14 +5,13 @@ steps:
- name: docker cp deploy - name: docker cp deploy
image: git.coopcloud.tech/coop-cloud/docker-cp-deploy:latest image: git.coopcloud.tech/coop-cloud/docker-cp-deploy:latest
settings: settings:
host: server.example.com host: smol-wp.autonomic.zone
service: wordpress_example_com_app service: mont58-staging_smol-wp_autonomic_zone_app
source: wp-content/themes/theme source: wp-content/themes/mont58-coffee
exec_pre: rm -rf /var/www/html/wp-content/themes/theme/* exec_pre: rm -rf /var/www/html/wp-content/themes/mont58-coffee/*
exec: composer install
dest: /var/www/html/ dest: /var/www/html/
deploy_key: deploy_key:
from_secret: drone_ssh_server.example.com from_secret: drone_ssh_smol-wp_autonomic_zone
when: when:
branch: branch:
- main - main