From 0e0e0048fc0cdf51b0deb32b8af75a9070803831 Mon Sep 17 00:00:00 2001 From: lukasNo1 Date: Wed, 21 Jul 2021 09:49:11 +0200 Subject: [PATCH 1/2] Add craft3 migration script to run on deploy --- .scripts/recipes/craft3/golive.pre.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.scripts/recipes/craft3/golive.pre.sh b/.scripts/recipes/craft3/golive.pre.sh index bf3fb76..9f3c46e 100755 --- a/.scripts/recipes/craft3/golive.pre.sh +++ b/.scripts/recipes/craft3/golive.pre.sh @@ -11,6 +11,7 @@ executeSSH "ln -s ../../_data/storage $APPROOT/deploy/backend/storage" # Replace the placeholder with the db pw for the environment executeSSH "sed -i \"s/@DB_PASSWORD/$DB_PASSWORD/g\" $APPROOT/deploy/backend/config/db.php" > /dev/null +executeSSH "APPENV=$ENV $DEPLOY_PHP_BINARY $APPROOT/deploy/backend/craft migrate/all" executeSSH "APPENV=$ENV $DEPLOY_PHP_BINARY $APPROOT/deploy/backend/craft project-config/apply" executeSSH "APPENV=$ENV $DEPLOY_PHP_BINARY $APPROOT/deploy/backend/craft blitz/cache/clear" executeSSH "APPENV=$ENV $DEPLOY_PHP_BINARY $APPROOT/deploy/backend/craft crafter/cache/clear-template" From dd5b47d8aff8b71c721eb68d7535f7dd3872ec0c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Aug 2021 04:00:17 +0000 Subject: [PATCH 2/2] Bump path-parse from 1.0.5 to 1.0.7 Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.5 to 1.0.7. - [Release notes](https://github.com/jbgutierrez/path-parse/releases) - [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7) --- updated-dependencies: - dependency-name: path-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] --- yarn.lock | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/yarn.lock b/yarn.lock index 716697f..b2fbc77 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10176,13 +10176,10 @@ path-key@^3.1.0: version "3.1.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" -path-parse@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1" - -path-parse@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" +path-parse@^1.0.5, path-parse@^1.0.6: + version "1.0.7" + resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== path-to-regexp@0.1.7: version "0.1.7"