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
|
- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user