File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7373fi
7474
7575
76+ # @TODO: Maybe check for an executable `scripts/pre-deploy` project-specific script and run it? Abort this script if the pre-deploy exists non-zero?
77+
78+
7679# Check for local changes that would cause a merge (without -f) to fail later.
7780$BIN_DIR /git-localchanges
7881if [ $? -gt 0 ]; then
@@ -111,7 +114,8 @@ elif [ "$DB_UPDATES_METHOD" = 'none' ]; then
111114fi
112115
113116
114- # This if case should really be looking to see if we're being asked to fast forward on the same branch, or switch to the HEAD of a different branch.
117+ # This if() should really be looking to see if we're being asked to fast
118+ # forward on the same branch, or switch to the HEAD of a different branch.
115119# if [ "$ARG_NEWCOMMIT" = "origin/master" ]; then
116120 echo " ## Merging upstream changes from: $ARG_NEWCOMMIT " ;
117121 git merge $ARG_NEWCOMMIT
@@ -132,6 +136,8 @@ if [ "$DB_UPDATES_METHOD" = 'migrations' ]; then
132136fi
133137
134138# Make sure any external packages are installed and available.
139+ # The current environment can export a COMPOSER_NODEV flag to disable
140+ # the installation of require-dev dependencies.
135141composer install --no-interaction
136142
137143
@@ -160,5 +166,8 @@ if [ -n "${LOADSYS_EMAIL}" ]; then
160166fi
161167
162168
169+ # @TODO: Maybe check for an executable `scripts/post-deploy` project-specific script and run it?
170+
171+
163172echo " ## Update process complete." ;
164173
You can’t perform that action at this time.
0 commit comments