Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/leonardofaria/bento.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Faria <leonardofaria@gmail.com>2020-07-13 01:22:07 +0300
committerLeonardo Faria <leonardofaria@gmail.com>2020-07-13 01:22:07 +0300
commita3855c77394a4f61692c349255f8174f9d9bea80 (patch)
tree67fd1416673718b0dacc28fc6f129cf97877cc8f /netlify.toml
parenta1ae260c034ccb3934d403edc4c63404a0922340 (diff)
Fix build command
Diffstat (limited to 'netlify.toml')
-rw-r--r--netlify.toml6
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