From fd1278e6ab2b0ab6ee3e24172318f78a77175389 Mon Sep 17 00:00:00 2001 From: Rising Odegua Date: Wed, 14 Apr 2021 13:02:37 +0100 Subject: [PATCH 1/3] Update README.md --- scripts/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/README.md b/scripts/README.md index 44cac6dd..2e292d42 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -1,6 +1,6 @@ -## Steps to use scripts +# Using scripts -### Deploy single dataset with no portal commit +## Deploy single dataset with no portal commit This script creates and commit only the build files from nextjs to the gh-pages branch. **Step 1:** Export an env variable with the name of your dataset github repo. @@ -54,7 +54,7 @@ Open your deployed site at `https:///github.io/ Date: Thu, 15 Apr 2021 15:13:37 +0100 Subject: [PATCH 2/3] Update single-dataset-no-commit.sh --- scripts/single-dataset-no-commit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/single-dataset-no-commit.sh b/scripts/single-dataset-no-commit.sh index e8074b94..7ca36ae5 100644 --- a/scripts/single-dataset-no-commit.sh +++ b/scripts/single-dataset-no-commit.sh @@ -20,7 +20,7 @@ echo 'module.exports = {assetPrefix:' ${assetPrefix}', basePath: '${basePath}' } yarn export cd .. -cp -R -a portal/out/ ./ +cp -R -a portal/out/* ./ touch .nojekyll git add $PWD'/_next' $PWD'/index.html' $PWD'/dataset' $PWD'/404.html' $PWD'/.nojekyll' $PWD'/favicon.ico' git commit -m "Build new dataset page" From 753ad3b3707629ce42e8271caefb6cb8de62cd1b Mon Sep 17 00:00:00 2001 From: Rising Odegua Date: Thu, 15 Apr 2021 15:14:20 +0100 Subject: [PATCH 3/3] Update README.md --- scripts/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/README.md b/scripts/README.md index 2e292d42..a80658bc 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -33,7 +33,7 @@ echo 'module.exports = {assetPrefix:' ${assetPrefix}', basePath: '${basePath}' } yarn export cd .. -cp -R -a portal/out/ ./ +cp -R -a portal/out/* ./ touch .nojekyll git add $PWD'/_next' $PWD'/index.html' $PWD'/dataset' $PWD'/404.html' $PWD'/.nojekyll' $PWD'/favicon.ico' git commit -m "Build new dataset page"