Skip to content

Commit

Permalink
Merge pull request #54 from pitchblack408/develop
Browse files Browse the repository at this point in the history
trying to get cicd to work again
  • Loading branch information
pitchblack408 authored May 13, 2022
2 parents 3f100cb + 302199f commit 1da4483
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ on:
jobs:
deploy-to-pytest:
runs-on: ubuntu-latest
needs: [test]
steps:
- uses: actions/checkout@v2
- name: Set up Python
Expand All @@ -27,10 +26,11 @@ jobs:
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
run: |
echo "__version__ = '$(git describe --tags)'" > src/pyawscron/version.py
python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.TEST_PYPI_PASSWORD }}
repository_url: https://test.pypi.org/legacy/
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 1da4483

Please sign in to comment.