diff options
author | Leonardo Faria <leonardofaria@gmail.com> | 2020-07-13 01:40:16 +0300 |
---|---|---|
committer | Leonardo Faria <leonardofaria@gmail.com> | 2020-07-13 01:40:16 +0300 |
commit | bfd6453e8977b01da253595232b2437d850aea46 (patch) | |
tree | a3da0d77d6e923770ff6961dcc31a6157ba1e284 | |
parent | e4395dc5677d8ccdb3ec90ac89d76814348a07b1 (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 5b73144..9b7c98c 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,18 +1,18 @@ [build] publish = "." - command = "cd .. && cp -r repo bento && cd bento && yarn build:example && echo $PWD && ls && cp -r exampleSite/public ../repo && tree ../repo" + command = "cd .. && mv repo bento && cd bento && yarn build:example && cp -r exampleSite/public ../repo" [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 && echo $PWD && ls && cp -r exampleSite/public ../repo && tree ../repo" + command = "cd .. && mv repo bento && cd bento && HUGO_BASEURL=$DEPLOY_PRIME_URL yarn build:example && cp -r exampleSite/public ../repo" [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 && echo $PWD && ls && cp -r exampleSite/public ../repo && tree ../repo" + command = "cd .. && mv repo bento && cd bento && HUGO_BASEURL=$DEPLOY_PRIME_URL yarn build:example && cp -r exampleSite/public ../repo" [context.branch-deploy.environment] HUGO_GOOGLEANALYTICS = "dev"
\ No newline at end of file |