Skip to content

Applying Center Loss #144

Applying Center Loss

Applying Center Loss #144

Workflow file for this run

name: build-docs
on:
pull_request_target:
types:
- closed
jobs:
build:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9.x'
- name: Install dependencies
run: |
python -m pip install poetry
poetry install
poetry run pip install 'setuptools==59.5.0' # temporary fix for https://github.com/pytorch/pytorch/pull/69904
- name: Generate docs
run: |
git checkout $GITHUB_BASE_REF
bash -x docs/generate_docs.sh
git config user.name 'qdrant'
git config user.email 'qdrant@users.noreply.github.com'
git config pull.rebase false
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git add ./docs && git commit -m "docs: auto-generate docs with sphinx" && git pull && git push || true