Skip to content

Commit

Permalink
iter
Browse files Browse the repository at this point in the history
  • Loading branch information
keepingitneil committed Jan 12, 2024
1 parent a6430e8 commit ead6542
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,23 @@ jobs:
with:
submodules: recursive

- name: Install pdoc
run: python -m pip install --upgrade pdoc
- name: Virtual Env
run: python -m venv venv

- name: Install cibuildwheel
run: python -m pip install cibuildwheel
- name: Install Package to Document
run: source venv/bin/activate && python -m pip install ${{ inputs.package_dir }}/

- name: Build Wheel
run: python -m cibuildwheel --output-dir dist --platform linux ./${{ inputs.package_dir }}
- name: Log Env
run: source venv/bin/activate && pip list

- name: List Dist
run: ls dist
- name: Download ffi
run: source venv/bin/activate && pip install requests && python livekit-rtc/rust-sdks/download_ffi.py --output $(python -m site --user-site)/livekit/rtc/resources

- name: Install Wheel
run: python -m pip install dist/*.whl
- name: Install pdoc
run: source venv/bin/activate && pip install --upgrade pdoc

- name: Build Docs
run: python -m pdoc ${{ inputs.package_name }} --docformat=google --output-dir docs
run: source venv/bin/activate && python -m pdoc ${{ inputs.package_name }} --docformat=google --output-dir docs

- name: S3 Upload
run: aws s3 cp docs/ s3://livekit-docs/${{ inputs.package_dir }} --recursive
Expand Down

0 comments on commit ead6542

Please sign in to comment.