generated from Flycro/laravel-nuxt
fix: Git Hash #2
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -23,6 +23,7 @@ steps:
|
||||
- docker compose exec php php artisan migrate --force
|
||||
- docker compose exec php php artisan optimize
|
||||
- docker compose exec php php artisan storage:link
|
||||
- git config --global --add safe.directory /var/www/html/bookstack.octolabs.net
|
||||
- >
|
||||
if grep -q "GIT_HASH=" .env; then
|
||||
sed -i 's/GIT_HASH=.*/GIT_HASH=$(git rev-parse --short HEAD)/' .env
|
||||
|
||||
Reference in New Issue
Block a user