Skip to content

Commit 74a657e

Browse files
author
edgar-zorrilla-smartports
committed
feat(.github): Refactor: Improve README structu...
The commit introduces a structural reorganization of the project’s core files, specifically the README. This refactoring enhances the project's overall navigation and makes it easier for new users and existing ones to quickly understand the project’s structure and key components. The updated layout improves discoverability and streamlines the project’s overall organization, providing a more intuitive experience for users. Affected files: - + .github/
1 parent 0ea86f6 commit 74a657e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/publish.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Publish to PyPI
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Set up Python
13+
uses: actions/setup-python@v2
14+
with:
15+
python-version: '3.9'
16+
- name: Install dependencies
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install build twine
20+
- name: Build and publish
21+
env:
22+
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
23+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
24+
run: |
25+
python -m build
26+
twine upload dist/*

0 commit comments

Comments
 (0)