Skip to content

Instantly share code, notes, and snippets.

@gmoigneu
Created November 16, 2017 09:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gmoigneu/580fc63ec3141dd132bad5e182d9d407 to your computer and use it in GitHub Desktop.
Save gmoigneu/580fc63ec3141dd132bad5e182d9d407 to your computer and use it in GitHub Desktop.
sc yaml
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