Update setup.py with new description and version #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to PyPI | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Build Docker image | |
run: docker build -t django-api-versioning-package . | |
- name: Publish to PyPI | |
run: | | |
docker run --rm -e TASK=publish -e PYPI_API_TOKEN=${{ secrets.PYPI_API_TOKEN }} django-api-versioning-package |