Skip to content

Commit ce85f39

Browse files
committed
chore: infrastructure updates
1 parent 69c77a5 commit ce85f39

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.env.testing

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ BCRYPT_ROUNDS=4
44
CACHE_DRIVER=array
55
DB_CONNECTION=sqlite
66
DB_DATABASE=:memory:
7-
LEGACY_DB_DRIVER=sqlite
8-
LEGACY_DB_DATABASE=:memory:
97
MAIL_MAILER=array
108
QUEUE_CONNECTION=sync
119
SCOUT_DRIVER=null

composer.phar

3.21 KB
Binary file not shown.

deploy/deploy.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22

3+
# DEPRECATED deployments have been automated
4+
35
# print all executed commands
46
set -x
57
# exit on error
@@ -79,8 +81,8 @@ ${PHP_BIN} artisan migrate --force
7981
# activate release - note -n option to actually replace the symlink instead of placing the new link inside it
8082
ln -snf "${BASEDIR}/${RELEASE_DIR}" "${BASEDIR}/${CURRENT_DIR}"
8183
# update version in .env file
82-
sed -i "s/APP_VERSION=.*/APP_VERSION=${VERSION}/g" .env
83-
sed -i "s/APP_BRANCH=.*/APP_BRANCH=${GIT_BRANCH}/g" .env
84+
sed -i "s/APP_VERSION=.*/APP_VERSION=${VERSION}/g" "${BASEDIR}/.env"
85+
sed -i "s/APP_BRANCH=.*/APP_BRANCH=${GIT_BRANCH}/g" "${BASEDIR}/.env"
8486
${PHP_BIN} artisan config:cache
8587
#${PHP_BIN} artisan route:cache
8688
#${PHP_BIN} artisan octane:reload

0 commit comments

Comments
 (0)