Skip to content

Commit

Permalink
CI/CD PyPi
Browse files Browse the repository at this point in the history
  • Loading branch information
Girish-Anadv-07 authored Oct 26, 2023
1 parent edda627 commit 9a5ba5a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,17 @@ jobs:
cd sphinx-build
make clean html
- name: Publish to Pypi
run: |
bash version_update.sh
python3 setup.py sdist bdist_wheel
twine upload dist/* -u ${{secrets.PYPI_USER}}
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: sphinx-build/_build/html
target-folder: docs


- name: Publish to Pypi
run: |
git stash
git checkout version
bash version_update.sh
python3 setup.py sdist bdist_wheel
twine upload dist/* -u ${{secrets.PYPI_USER}} -p ${{secrets.PYPI_PASSWORD}}

0 comments on commit 9a5ba5a

Please sign in to comment.