Skip to content

Commit

Permalink
Workflow to release
Browse files Browse the repository at this point in the history
  • Loading branch information
pzandre committed Dec 8, 2023
1 parent 58ec73a commit 1de35f2
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 4 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Upload to Pypi

on:
release:
types: [published]

permissions:
contents: read

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
========================
django-channels-presence-4.0
========================
# django-channels-presence-4.0

A reusable Django app for implementing "presence" and "rooms" using
`django-channels <https://github.com/andrewgodwin/channels>`_.
`django-channels <https://github.com/andrewgodwin/channels>`.

- Docs: https://django-channels-presence-40.readthedocs.io/en/latest/

Expand Down

0 comments on commit 1de35f2

Please sign in to comment.