Update Travis and publish scripts
This commit is contained in:
parent
38f2e0480a
commit
974759f9ba
|
@ -13,7 +13,6 @@ cache:
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- npm install
|
- npm install
|
||||||
- npm run prod
|
|
||||||
- composer install --prefer-dist --no-dev
|
- composer install --prefer-dist --no-dev
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
SITE_ENV="prod"
|
SITE_ENV="prod"
|
||||||
|
|
||||||
# Build front-end assets.
|
# Build front-end assets.
|
||||||
node_modules/.bin/gulp --production
|
npm run prod
|
||||||
|
|
||||||
# Remove the existing docs directory, build the site and create the new
|
# Remove the existing docs directory, build the site and create the new
|
||||||
# docs directory.
|
# docs directory.
|
||||||
|
|
Reference in a new issue