More templating

This commit is contained in:
3wc 2024-05-15 22:44:36 -03:00
parent 4ccb5b9a4e
commit b39b5ac713
2 changed files with 4 additions and 4 deletions

View File

@ -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:

View File

@ -1,3 +1,3 @@
.drone.yml .drone.yml
.env.sample
README.md README.md