diff options
author | Leonardo Faria <leonardofaria@gmail.com> | 2020-07-13 01:08:37 +0300 |
---|---|---|
committer | Leonardo Faria <leonardofaria@gmail.com> | 2020-07-13 01:08:37 +0300 |
commit | fbcc0f617600257d9ada7d51b8c105088680860d (patch) | |
tree | 65fbe3533854cfed562568d5b25cae09ad65a40a | |
parent | d6e5458d3f76484902240f832b880a5219bb1595 (diff) |
Fix build command
-rw-r--r-- | netlify.toml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/netlify.toml b/netlify.toml index 6769bd2..80fe47c 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,18 +1,18 @@ [build] publish = "public" - command = "yarn build:example" + command = "cd .. && mv repo bento && cd bento && yarn build:example" [build.environment] HUGO_VERSION = "0.73.0" [context.deploy-preview] - command = "HUGO_BASEURL=$DEPLOY_PRIME_URL yarn build:example" + command = "HUGO_BASEURL=$DEPLOY_PRIME_URL cd .. && mv repo bento && cd bento && yarn build:example" [context.deploy-preview.environment] HUGO_GOOGLEANALYTICS = "dev" [context.branch-deploy] - command = "HUGO_BASEURL=$DEPLOY_PRIME_URL yarn build:example" + command = "HUGO_BASEURL=$DEPLOY_PRIME_URL cd .. && mv repo bento && cd bento && yarn build:example" [context.branch-deploy.environment] HUGO_GOOGLEANALYTICS = "dev"
\ No newline at end of file |