diff options
author | Leonardo Faria <leonardofaria@gmail.com> | 2020-07-13 01:28:24 +0300 |
---|---|---|
committer | Leonardo Faria <leonardofaria@gmail.com> | 2020-07-13 01:28:24 +0300 |
commit | f40271df1746de4a49b87d403a651835ae756a72 (patch) | |
tree | a24e7ee0fe40d6e55a6c3956f614fb0c04f3adae | |
parent | 8f7348f2f2405f7585cf4fb6268268b178bb3b5e (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 362a01e..1f2ebc3 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,18 +1,18 @@ [build] publish = "exampleSite/public" - command = "cd .. && cp -r repo bento && cd bento && yarn build:example" + command = "cd .. && cp -r repo bento && cd bento && yarn build:example && ls exampleSite/" [build.environment] HUGO_VERSION = "0.73.0" [context.deploy-preview] - command = "HUGO_BASEURL=$DEPLOY_PRIME_URL cd .. && mv repo bento && cd bento && yarn build:example" + command = "HUGO_BASEURL=$DEPLOY_PRIME_URL cd .. && mv repo bento && cd bento && yarn build:example && ls exampleSite/" [context.deploy-preview.environment] HUGO_GOOGLEANALYTICS = "dev" [context.branch-deploy] - command = "HUGO_BASEURL=$DEPLOY_PRIME_URL cd .. && mv repo bento && cd bento && yarn build:example" + command = "HUGO_BASEURL=$DEPLOY_PRIME_URL cd .. && mv repo bento && cd bento && yarn build:example && ls exampleSite/" [context.branch-deploy.environment] HUGO_GOOGLEANALYTICS = "dev"
\ No newline at end of file |