Add command for staging env

This commit is contained in:
Samuel Štancl 2019-10-15 20:50:15 +02:00
parent 99655ea7e0
commit b92fa51d00
3 changed files with 14 additions and 1 deletions

View file

@ -3,6 +3,9 @@ environment = { PHP_VERSION = "7.2" }
publish = "/dist"
command = "./build.sh"
[context.deploy-preview]
command = "./staging.sh"
[[redirects]]
from = "/docs/master/*"
to = "/docs/v2/:splat"