Skip to content

Commit

Permalink
[#19] Add query-engine documentation (#33)
Browse files Browse the repository at this point in the history
* Move query engine doc

* Publish query engine doc workflow

* Publish query engine documentation

* Add push trigger

* Fix repository name

* Set new github token in the workflow

* Checkout repo with a GH_TOKEN

* Fix doc images

* Deploy only on main branch
  • Loading branch information
levisingularity authored May 28, 2024
1 parent 8b35e78 commit 10aef64
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/publish-das.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,28 @@ jobs:
title: New version of DAS
deliverable: Tagged branch (${{ github.ref_name }}) in the repository
secrets: inherit

publish-query-engine-doc:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
repository: singnet/das-query-engine
token: ${{ secrets.GH_TOKEN }}
ref: fix/mkdocs-images-tags

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ^3.8.5

- name: Install Poetry
run: pip install poetry

- name: Update Documentation
run: |
poetry lock --no-update
poetry export --with doc -f requirements.txt | pip install -r /dev/stdin
mkdocs gh-deploy --force
1 change: 1 addition & 0 deletions docs/api/DAS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
:::das
1 change: 1 addition & 0 deletions docs/api/Traverse Engine.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
:::traverse_engines

0 comments on commit 10aef64

Please sign in to comment.