Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #9 from phemmylintry/develop
Browse files Browse the repository at this point in the history
feat: CI/CD GitHub
  • Loading branch information
parisk authored Jun 6, 2022
2 parents 98fe0ab + 71a2e96 commit 9a208d0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Release

on:
release:
types:
- published

jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- run: pipx install poetry==1.1.13
- uses: actions/setup-python@v3
with:
python-version: '3.10'
cache: poetry
- run: poetry install
- run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
- run: poetry publish --build
2 changes: 1 addition & 1 deletion billit/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def create(
self._args_api_mappings["exclude_mydata"]: exclude_mydata,
self._args_api_mappings["invoice_date"]: invoice_date,
self._args_api_mappings["invoice_type_id"]: invoice_type_id,
self._args_api_mappings["is_paid"]: isPaid,
self._args_api_mappings["is_paid"]: is_paid,
self._args_api_mappings["mydata_invoice_type"]: mydata_invoice_type,
self._args_api_mappings["taxes"]: dataclass.asdict(taxes),
self._args_api_mappings["products"]: products,
Expand Down

0 comments on commit 9a208d0

Please sign in to comment.