Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

Commit 358e83c

Browse files
authored
Clear cache with migration on nightly (#224)
1 parent 7231141 commit 358e83c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

entrypoint.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ create_admin_user() {
119119
echo "**** Migrate the database ****" && \
120120
./artisan migrate --force && \
121121
create_admin_user && \
122-
touch /tmp/first_run
122+
touch /tmp/first_run && \
123+
[ $target == "nightly" ] && \
124+
./artisan cache:clear
123125

124126
echo "**** Make sure user.css exists and symlink it ****" && \
125127
touch -a /conf/user.css

0 commit comments

Comments
 (0)