File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish Python Package to PyPI
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ jobs :
9+ deploy :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ - name : Set up Python
14+ uses : actions/setup-python@v2
15+ with :
16+ python-version : ' 3.x'
17+ - name : Install dependencies
18+ run : |
19+ python -m pip install --upgrade pip
20+ python -m pip install setuptools wheel twine
21+ - name : Build and publish
22+ env :
23+ TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
24+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
25+ run : |
26+ python setup.py sdist bdist_wheel
27+ twine upload dist/*
Original file line number Diff line number Diff line change 1616
1717penify-cli -t {token} -gf {git_folder_path}
1818"""
19- api_url = 'http ://localhost:8000 /api'
19+ api_url = 'https ://production-gateway.snorkell.ai /api'
2020
2121def install_git_hook (location , token ):
2222 hooks_dir = Path (location ) / ".git/hooks"
You can’t perform that action at this time.
0 commit comments