Add "copy-then-replace" to docker-cp-deploy #616

Closed
opened 2024-05-15 18:20:38 +00:00 by 3wordchant · 1 comment
Owner

Would reduce downtime for e.g. deploying an updated wordpress theme, currently need to use exec_pre: rm -rf /var/www/html/wp-content/themes/theme/*

Would reduce downtime for e.g. deploying an updated wordpress theme, currently need to use `exec_pre: rm -rf /var/www/html/wp-content/themes/theme/*`
3wordchant added the
enhancement
label 2024-05-15 18:20:38 +00:00
Author
Owner

Actually this is probably best done by copying to a temporary directory and then using exec to swap it out. Closing this request

Actually this is probably best done by copying to a temporary directory and then using `exec` to swap it out. Closing this request
Sign in to join this conversation.
No description provided.