More templating
This commit is contained in:
parent
4ccb5b9a4e
commit
b39b5ac713
@ -19,9 +19,9 @@ steps:
|
|||||||
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: server.example.com
|
||||||
service: wordpress_example_com_app
|
service: ${REPO_NAME_SNAKE}
|
||||||
source: wp-content/themes/theme
|
source: wp-content/themes/${REPO_NAME}
|
||||||
exec_pre: rm -rf /var/www/html/wp-content/themes/theme/*
|
exec_pre: rm -rf /var/www/html/wp-content/themes/${REPO_NAME}/*
|
||||||
exec: composer install
|
exec: composer install
|
||||||
dest: /var/www/html/
|
dest: /var/www/html/
|
||||||
deploy_key:
|
deploy_key:
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
.drone.yml
|
.drone.yml
|
||||||
|
.env.sample
|
||||||
README.md
|
README.md
|
||||||
|
Loading…
Reference in New Issue
Block a user