From b62722e44f90d7b8573c4a9cbf7be884872fd0ba Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 6 May 2017 03:03:07 +0100 Subject: [PATCH] Update app.yml --- app.yml | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/app.yml b/app.yml index f1148764..113e65bd 100644 --- a/app.yml +++ b/app.yml @@ -1,16 +1,5 @@ -api: '1' - -sculpin: - theme: - build: - bower: yes - npm: no - type: gulp - yarn: yes - path: ~ - -composer: - install: yes +build: + type: composer redirects: "^/about": { to: "/" } @@ -139,10 +128,9 @@ redirects: "^/terms-and-conditions": { to: "/terms" } "^/work": { to: "/experience" } -deploy: - restart_php: false - restart_webserver: true - rsync: - options: '-vzcrSLh' - delete: true - type: rsync +hooks: + build: | + vendor/bin/sculpin generate --env=prod + yarn --pure-lockfile + node_modules/.bin/bower install + node_modules/.bin/gulp --production