adds exclude-list to .gitignore
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -4,6 +4,7 @@ env_files/certs.env
|
|||||||
env_files/manage.env
|
env_files/manage.env
|
||||||
env_files/migrate-db.env
|
env_files/migrate-db.env
|
||||||
env_files/remote.env
|
env_files/remote.env
|
||||||
|
exclude-list
|
||||||
tmp/
|
tmp/
|
||||||
traefik-volumes/
|
traefik-volumes/
|
||||||
webroot-remote/
|
webroot-remote/
|
||||||
|
|||||||
@@ -7,7 +7,9 @@ set -a
|
|||||||
set +a
|
set +a
|
||||||
|
|
||||||
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 activate wp-migrate-db ; wp migratedb find-replace \
|
wp plugin install wp-migrate-db && \
|
||||||
|
wp plugin activate wp-migrate-db && \
|
||||||
|
wp migratedb find-replace \
|
||||||
--find='"//${REMOTE_WP_URL}"','"${REMOTE_WP_PATH}"' \
|
--find='"//${REMOTE_WP_URL}"','"${REMOTE_WP_PATH}"' \
|
||||||
--replace='"//${APP_URL}"',/var/www/html \
|
--replace='"//${APP_URL}"',/var/www/html \
|
||||||
--skip-replace-guids \
|
--skip-replace-guids \
|
||||||
|
|||||||
Reference in New Issue
Block a user