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:29:49 +0300
committerLeonardo Faria <leonardofaria@gmail.com>2020-07-13 01:29:49 +0300
commit08ee470aeedb0d308b7aba5a0094e162054cacca (patch)
treef3c444211bf84f42caabc2ef14d1b16d4601214e
parentf40271df1746de4a49b87d403a651835ae756a72 (diff)
Fix build command
-rw-r--r--netlify.toml6
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