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