diff --git a/.drone.yml b/.drone.yml index 9f1f116..a0b9587 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,9 +19,9 @@ steps: 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/* + service: ${REPO_NAME_SNAKE} + source: wp-content/themes/${REPO_NAME} + exec_pre: rm -rf /var/www/html/wp-content/themes/${REPO_NAME}/* exec: composer install dest: /var/www/html/ deploy_key: diff --git a/.gitea/template b/.gitea/template index b0ad73d..c130f4f 100644 --- a/.gitea/template +++ b/.gitea/template @@ -1,3 +1,3 @@ .drone.yml - +.env.sample README.md