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
image: git.coopcloud.tech/coop-cloud/docker-cp-deploy:latest
settings:
host: server.example.com
service: wordpress_example_com_app
source: wp-content/themes/theme
exec_pre: rm -rf /var/www/html/wp-content/themes/theme/*
exec: composer install
host: smol-wp.autonomic.zone
service: mont58-staging_smol-wp_autonomic_zone_app
source: wp-content/themes/mont58-coffee
exec_pre: rm -rf /var/www/html/wp-content/themes/mont58-coffee/*
dest: /var/www/html/
deploy_key:
from_secret: drone_ssh_server.example.com
from_secret: drone_ssh_smol-wp_autonomic_zone
when:
branch:
- main