fix: improve fortrabbit deploy file (#1843)

This commit is contained in:
Alexis Saettler
2018-09-26 09:21:30 +02:00
committed by GitHub
parent 213a7d0506
commit 71545daa22
2 changed files with 14 additions and 7 deletions
+3 -7
View File
@@ -7,8 +7,8 @@
@endsetup
@story('deploy')
sentry-set
git
update
sentry
@endstory
@@ -23,12 +23,8 @@
git push -u fortrabbit {{ $branch ?? 'master' }}
@endtask
@task('composer', ['on' => 'web'])
composer install --no-interaction --no-dev
@endtask
@task('update', ['on' => 'web'])
php artisan monica:update --force -vvv
@task('sentry-set', ['on' => 'web'])
echo {{ $release }} > .sentry-release
@endtask
@task('sentry', ['on' => 'web'])
+11
View File
@@ -1,4 +1,15 @@
# differentiate from the deployment files
version: 2
# optional Composer settings
composer:
# Resolves to the --no-dev parameter
no-dev: true
# called after Composer runs
post: artisan monica:update --force -vvv
# list of sustained folders in ~/htdocs. If not given, then it defaults to the "vendor" folder
sustained:
- storage
- vendor