Update README.rst #189
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pypi | |
on: [push] | |
jobs: | |
upload-if-tagged-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️Ivy Robot | |
uses: actions/checkout@v2 | |
with: | |
path: ivy_robot | |
persist-credentials: false | |
- name: Install Dependencies | |
run: | | |
sudo apt-get install python3-venv | |
python3 -m pip install --upgrade pip | |
python3 -m pip install --upgrade build | |
python3 -m pip install --upgrade twine | |
- name: Upload to Pypi | |
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
env: | |
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | |
run: | | |
cd ivy_robot | |
bash deploy_pypi.sh |