Skip to content

Commit

Permalink
removed - travis integration
Browse files Browse the repository at this point in the history
add - GitHub Actions integration for deploying to Pypi
  • Loading branch information
cr0hn committed Oct 22, 2021
1 parent 3386776 commit 56ce54f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 46 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/upload-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build Pypi Artefacts

on:
push:
branches:
- master

jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1 # v2 does not have submodules option now
- uses: actions/setup-python@v1
with:
python-version: '3.8'

- name: Build distribution package
run: |
python3 -m pip install setuptools wheel
python3 -m pip install -r requirements.txt
python3 setup.py sdist bdist_wheel
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}
42 changes: 0 additions & 42 deletions .travis.yml

This file was deleted.

4 changes: 0 additions & 4 deletions deploy/pypi.sh

This file was deleted.

0 comments on commit 56ce54f

Please sign in to comment.