Skip to content
Snippets Groups Projects
Commit b71c316e authored by Tibo's avatar Tibo
Browse files

update deploy scripts

parent 819f5a02
No related branches found
No related tags found
No related merge requests found
Pipeline #1871 passed
......@@ -11,8 +11,7 @@ cache:
.phptest:
before_script:
# Install all project dependencies
- cd web
- COMPOSER_CACHE_DIR=../composer-cache composer install
- COMPOSER_CACHE_DIR=./composer-cache composer install
# setup Laravel
- cp env.test .env
- touch storage/app/db.sqlite
......
- plugin: App\Plugins\Writable
params:
- web/bootstrap/cache
- bootstrap/cache
- plugin: App\Plugins\Shared
params:
- web/storage
- storage
- plugin: App\Plugins\Exec
params:
- cd web && composer install
- cd web && cp ../../../env.prod .env
- cd web && php artisan migrate --force
- composer install
- cp ../../../env.prod .env
- php artisan migrate --force
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment