Add Drone autodeployment config
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
d5c1eb806c
commit
204ccc27aa
11
.drone.yml
11
.drone.yml
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user