Update main.yml
Make sure directory for deployment is correct
@@ -128,6 +128,7 @@ jobs:
cd docs
sphinx-build -W -b html -d _build/doctrees . _build/html
sphinx-build -W -b spelling -d _build/doctrees . _build/spelling
+ cd ..
deploy:
needs: [ build, docs ]
runs-on: ubuntu-latest
@@ -135,6 +136,8 @@ jobs:
- name: Install pypa/build
run: |
python -m pip install build --user
+ - name: Check current directory
+ run: pwd
- name: Build a binary wheel and a source tarball
run: |
python -m build --sdist --wheel --outdir dist/ .
