adds timestamps to migration process
This commit is contained in:
@@ -6,6 +6,7 @@ set -a
|
|||||||
. "${PWD}/env_files/migrate-db.env"
|
. "${PWD}/env_files/migrate-db.env"
|
||||||
set +a
|
set +a
|
||||||
|
|
||||||
|
+date +%H-%M-%S
|
||||||
docker exec --user www-data "${PREFIX}-app" /bin/sh -c '
|
docker exec --user www-data "${PREFIX}-app" /bin/sh -c '
|
||||||
wp plugin install wp-migrate-db && \
|
wp plugin install wp-migrate-db && \
|
||||||
wp plugin activate wp-migrate-db && \
|
wp plugin activate wp-migrate-db && \
|
||||||
@@ -16,3 +17,4 @@ docker exec --user www-data "${PREFIX}-app" /bin/sh -c '
|
|||||||
--exclude-post-revisions \
|
--exclude-post-revisions \
|
||||||
--exclude-spam
|
--exclude-spam
|
||||||
'
|
'
|
||||||
|
+date +%H-%M-%S
|
||||||
|
|||||||
Reference in New Issue
Block a user