[HWORKS-975] OpenSearchApi in hopsworks-api should not rely on ELASTIC_ENDPOINT #270
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: mkdocs-main | |
on: pull_request | |
jobs: | |
publish-main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: set dev version | |
working-directory: ./java | |
run: echo "DEV_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version | grep -Ev 'Download|INFO|WARNING')" >> $GITHUB_ENV | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: install deps | |
working-directory: ./python | |
run: cp ../README.md . && pip3 install 'git+https://github.com/logicalclocks/feature-store-api@master#egg=hsfs[python]&subdirectory=python' && pip3 install -e .[dev,docs] | |
- name: generate autodoc | |
run: python3 auto_doc.py | |
- name: setup git | |
run: | | |
git config --global user.name Mike | |
git config --global user.email [email protected] | |
- name: mike deploy docs | |
run: mike deploy ${{ env.DEV_VERSION }} dev -u | |