瀏覽代碼

adds timestamps to migration process

test
Jean-Christophe Vanhalle 2 年之前
父節點
當前提交
297df423c7
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      migrate-db-paths.sh

+ 2
- 0
migrate-db-paths.sh 查看文件

. "${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 && \
--exclude-post-revisions \ --exclude-post-revisions \
--exclude-spam --exclude-spam
' '
+date +%H-%M-%S

Loading…
取消
儲存