File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Lint
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ lint :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v2
10+ - uses : psf/black@stable
Original file line number Diff line number Diff line change 1+ name : Build and upload Python Package to pypi.autoactuary.com
2+
3+ on :
4+ release :
5+ types : [created]
6+
7+ jobs :
8+ deploy :
9+
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v2
14+ - name : Set up Python
15+ uses : actions/setup-python@v2
16+ with :
17+ python-version : ' 3.x'
18+ - name : Install dependencies
19+ run : |
20+ python -m pip install --upgrade pip
21+ pip install setuptools wheel twine
22+ - name : Build and publish
23+ env :
24+ TWINE_USERNAME : ' aa'
25+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
26+ TWINE_REPOSITORY_URL : ' https://pypi.autoactuary.com'
27+ run : |
28+ python setup.py sdist bdist_wheel
29+ twine upload dist/*
30+ - name : Trigger docs update
31+ run : |
32+ curl -X POST -d {} "https://webhooks.amplify.eu-west-2.amazonaws.com/prod/webhooks?id=6ee6a4d0-2851-453f-9ae1-6599a7655b42&token=PvkVMadqDAWjSdtjruZQWkH6mzaPhDTLXLVoYQBH4I&operation=startbuild" -H "Content-Type:application/json"
You can’t perform that action at this time.
0 commit comments