Skip to content

Commit 79c1e4b

Browse files
author
CircleCI Bumpversion
committed
[FIX] Tentative fix on PyPi push
1 parent 848b308 commit 79c1e4b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.circleci/config.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ jobs:
138138
git pull origin circleci-project-setup
139139
VERSION_NEW=$(cat setup.py| grep version | cut -c 20- | rev | cut -c 3- | rev)
140140
docker pull fentechai/cdt:$VERSION_NEW
141-
docker run -e PYPI_PASSWORD --rm fentechai/cdt:$VERSION_NEW /bin/sh -c 'cd /CDT && pip3 install --upgrade keyrings.alt && pip3 install twine wheel && python3 setup.py sdist bdist_wheel && twine upload -u divkal -p "$PYPI_PASSWORD" dist/*'
141+
docker run -e $PYPI_PASSWORD --rm fentechai/cdt:$VERSION_NEW /bin/sh -c 'cd /CDT && pip3 install --upgrade keyrings.alt && pip3 install twine wheel && python3 setup.py sdist bdist_wheel && twine upload -u divkal -p "$PYPI_PASSWORD" dist/*'
142142
143143
build-docs:
144144
docker:
@@ -165,7 +165,9 @@ jobs:
165165
git config --global user.email "[email protected]"
166166
git config --global user.name "Circle CI Docs"
167167
git config --global push.default simple
168-
docker run -v $(pwd):/cdtlib --rm fentechai/cdt:$VERSION_NEW /bin/sh -c 'cd /cdtlib && pip3 uninstall cdt -y && pip3 install . && pip3 install sphinx recommonmark sphinxcontrib-napoleon sphinx_rtd_theme && cd docs && sphinx-build -Eab html . html'
168+
ls .
169+
echo "$(pwd)"
170+
docker run -v $(pwd):/cdtlib --rm fentechai/cdt:$VERSION_NEW /bin/sh -c 'cd /cdtlib && ls . && echo $(pwd) && pip3 uninstall cdt -y && pip3 install . && pip3 install sphinx recommonmark sphinxcontrib-napoleon sphinx_rtd_theme && cd docs && sphinx-build -Eab html . html'
169171
git remote add deploy [email protected]:FenTechSolutions/CausalDiscoveryToolbox.git
170172
git add ./docs
171173
git commit -m "[DEPLOY] Docs $VERSION_NEW [skip ci]"

0 commit comments

Comments
 (0)