Fix build.sh

This commit is contained in:
Samuel Štancl 2019-09-21 16:50:55 +02:00
parent 8d31288d70
commit 2530f17bc2
2 changed files with 3 additions and 1 deletions

View file

@ -6,4 +6,5 @@ cd docs
composer install composer install
npm install npm install
npm run production npm run production
mkdir -p ../dist/docs
cp -R build_production/* ../dist/docs cp -R build_production/* ../dist/docs

View file

@ -6,3 +6,4 @@ command = "./build.sh"
[[redirects]] [[redirects]]
from = "/docs/master/*" from = "/docs/master/*"
to = "/docs/2.x/:splat" to = "/docs/2.x/:splat"
status = 302