From c3fc2288143088c7544894b3180ad6eb6d0f473a Mon Sep 17 00:00:00 2001 From: Etesam Ansari Date: Mon, 1 Aug 2022 15:40:00 -0400 Subject: [PATCH 1/4] =?UTF-8?q?=F0=9F=93=9D=20Added=20mephisto=20install?= =?UTF-8?q?=20to=20deploy=20docs=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-docs.yml | 12 +++++++++++- .github/workflows/test-deploy-docs.yml | 18 ++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 86304a074..849c2652a 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -20,8 +20,18 @@ jobs: with: node-version: 16.x cache: yarn + - uses: actions/setup-python@v2 - - name: Auto Generate Blueprint Docs + - name: 🤖 Install Mephisto + run: pip install -e . + + - name: 🖋 Create data directory + run: mkdir -p ~/mephisto/data + + - name: 📂 Set the data directory + run: mephisto config core.main_data_directory ~/mephisto/data + + - name: 📝 Auto Generate Blueprint Docs run: | cd ../../mephisto/scripts/local_db/gh_actions python auto_generate_blueprint.py diff --git a/.github/workflows/test-deploy-docs.yml b/.github/workflows/test-deploy-docs.yml index 2393ce299..fad48292c 100644 --- a/.github/workflows/test-deploy-docs.yml +++ b/.github/workflows/test-deploy-docs.yml @@ -22,6 +22,24 @@ jobs: with: node-version: 16.x cache: yarn + - uses: actions/setup-python@v2 + + - name: 🤖 Install Mephisto + run: pip install -e . + + - name: 🖋 Create data directory + run: mkdir -p ~/mephisto/data + + - name: 📂 Set the data directory + run: mephisto config core.main_data_directory ~/mephisto/data + + - name: 📝 Auto Generate Blueprint Docs + run: | + cd ../../mephisto/scripts/local_db/gh_actions + python auto_generate_blueprint.py + python auto_generate_architect.py + python auto_generate_requester.py + python auto_generate_provider.py - name: Install dependencies run: yarn install --frozen-lockfile From b104e29b96a09fadc1948b96e08b7de774558f96 Mon Sep 17 00:00:00 2001 From: Etesam Ansari Date: Mon, 1 Aug 2022 15:42:19 -0400 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=93=9D=20Tweaked=20readme=20to=20test?= =?UTF-8?q?=20deploy=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/web/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/web/README.md b/docs/web/README.md index 55d0c3ef4..8dd258d39 100644 --- a/docs/web/README.md +++ b/docs/web/README.md @@ -1,4 +1,4 @@ -# Website +# Mephisto Docs Website This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator. From 5d13f032baab971f7b3c33dacac452b8771fe2d3 Mon Sep 17 00:00:00 2001 From: Etesam Ansari Date: Mon, 1 Aug 2022 15:48:02 -0400 Subject: [PATCH 3/4] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20path=20bug=20with=20?= =?UTF-8?q?mephisto=20install?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-docs.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 849c2652a..493ccfcb7 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -23,7 +23,9 @@ jobs: - uses: actions/setup-python@v2 - name: 🤖 Install Mephisto - run: pip install -e . + run: | + cd ../../ + pip install -e . - name: 🖋 Create data directory run: mkdir -p ~/mephisto/data From 414e9ce1ac6c8aa7f40cac5d935298ca4fea5621 Mon Sep 17 00:00:00 2001 From: Etesam Ansari Date: Mon, 1 Aug 2022 15:55:06 -0400 Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20path=20bug=20with=20?= =?UTF-8?q?test=20deploy=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test-deploy-docs.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-deploy-docs.yml b/.github/workflows/test-deploy-docs.yml index fad48292c..97cebe7d8 100644 --- a/.github/workflows/test-deploy-docs.yml +++ b/.github/workflows/test-deploy-docs.yml @@ -25,7 +25,9 @@ jobs: - uses: actions/setup-python@v2 - name: 🤖 Install Mephisto - run: pip install -e . + run: | + cd ../../ + pip install -e . - name: 🖋 Create data directory run: mkdir -p ~/mephisto/data