Sfoglia il codice sorgente

adds exclude-list to .gitignore

test
Jean-Christophe Vanhalle 2 anni fa
parent
commit
5d53a19803
2 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 1
    0
      .gitignore
  2. 3
    1
      migrate-db-paths.sh

+ 1
- 0
.gitignore Vedi File

@@ -4,6 +4,7 @@ env_files/certs.env
env_files/manage.env
env_files/migrate-db.env
env_files/remote.env
exclude-list
tmp/
traefik-volumes/
webroot-remote/

+ 3
- 1
migrate-db-paths.sh Vedi File

@@ -7,7 +7,9 @@ set -a
set +a

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}"' \
--replace='"//${APP_URL}"',/var/www/html \
--skip-replace-guids \

Loading…
Annulla
Salva