Update README.md

This commit is contained in:
Rising Odegua
2021-04-13 17:48:04 +01:00
committed by GitHub
parent b9d0d433bd
commit 536b8721a6

View File

@@ -2,11 +2,13 @@
### Single dataset with no portal commit ### Single dataset with no portal commit
This script creates and commit only the build files from nextjs to the gh-pages branch. 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. **Step 1:** Export an env variable with the name of your dataset github repo.
For example if deploying https://github.com/datasets/finance-vix, then export the name as: For example if deploying https://github.com/datasets/finance-vix, then export the name as:
```bash ```bash
export PORTAL_REPO_NAME=finance-vix export PORTAL_REPO_NAME=finance-vix
``` ```
**Step 2:** Create a file called `portal.sh` and paste the following content: **Step 2:** Create a file called `portal.sh` and paste the following content:
```bash ```bash
#!/bin/bash #!/bin/bash