Skip to content

Commit

Permalink
📝 Added mephisto install to deploy docs action
Browse files Browse the repository at this point in the history
  • Loading branch information
Etesam913 committed Aug 1, 2022
1 parent f1b6766 commit c3fc228
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/test-deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c3fc228

Please sign in to comment.