Skip to content

Change master to main #187

Change master to main

Change master to main #187

Workflow file for this run

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