diff options
author | Leonardo Faria <leonardofaria@gmail.com> | 2020-07-13 01:29:49 +0300 |
---|---|---|
committer | Leonardo Faria <leonardofaria@gmail.com> | 2020-07-13 01:29:49 +0300 |
commit | 08ee470aeedb0d308b7aba5a0094e162054cacca (patch) | |
tree | f3c444211bf84f42caabc2ef14d1b16d4601214e | |
parent | f40271df1746de4a49b87d403a651835ae756a72 (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 1f2ebc3..a7fe9b8 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 && ls exampleSite/" + command = "cd .. && cp -r repo bento && cd bento && yarn build:example && echo $PWD && ls && 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 && ls exampleSite/" + command = "HUGO_BASEURL=$DEPLOY_PRIME_URL cd .. && mv repo bento && cd bento && yarn build:example && echo $PWD && ls && 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 && ls exampleSite/" + command = "HUGO_BASEURL=$DEPLOY_PRIME_URL cd .. && mv repo bento && cd bento && yarn build:example && echo $PWD && ls && cp -r exampleSite/public ../repo" [context.branch-deploy.environment] HUGO_GOOGLEANALYTICS = "dev"
\ No newline at end of file |