Skip to content

Commit

Permalink
Merge pull request #1 from digitalfortress-dev/cd/implement-cd
Browse files Browse the repository at this point in the history
cd: implement cd
  • Loading branch information
haihuynhDF authored Dec 6, 2023
2 parents 9631bd3 + bcd9d39 commit c21f7f9
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Upload Python Package

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.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel build twine
pip install -r requirements.txt
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python3 -m build
python3 -m twine upload --repository pypi dist/*
File renamed without changes.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "sqs-client"
version = "0.0.1"
version = "0.0.3"
authors = [
{name="Digital Fortress", email="[email protected]" },
]
Expand Down

0 comments on commit c21f7f9

Please sign in to comment.