Created
November 16, 2017 09:10
-
-
Save gmoigneu/580fc63ec3141dd132bad5e182d9d407 to your computer and use it in GitHub Desktop.
sc yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'sensiocloud' | |
type: 'php:7.1' | |
build: | |
flavor: 'none' | |
dependencies: | |
nodejs: | |
yarn: "*" | |
gulp-cli: "*" | |
web: | |
locations: | |
'/': | |
root: '' | |
passthru: '/index.php' | |
'/assets': | |
expires: 1d | |
disk: 2048 | |
mounts: | |
'/var/cache': 'shared:files/cache' | |
'/var/logs': 'shared:files/logs' | |
hooks: | |
build: | | |
set -e | |
composer install --no-progress --prefer-dist --optimize-autoloader --no-dev --no-ansi --no-interaction | |
yarn | |
gulp | |
rm -rf tests web/index_dev.php phpunit.xml.dist README.rst LICENSE | |
deploy: | | |
bin/console cache:clear |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment