Skip to content

Commit

Permalink
Github action to publish releases to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
lnqs committed Feb 23, 2022
1 parent d92e289 commit 442f143
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 10 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release

on:
release:
types: [created]

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install poetry
run: pip install poetry
- name: Build and publish
run: |
poetry build
poetry publish -u "__token__" -p "${{ secrets.PYPI_API_TOKEN }}"
13 changes: 3 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,11 @@ Connect and control Elgato Stream Decks from Linux.

## Installation

### From source
### PyPI

Clone the repository and use pip to install it:
pip install knoepfe

git clone git@github.com:lnqs/knoepfe.git
cd knoepfe
pip install .

### Other channels

Currently cloning the repository is the only way to go.
PyPI and Arch Linux AUR are going to be available soon :)
should do the trick :)

### Prerequisites

Expand Down

0 comments on commit 442f143

Please sign in to comment.