Skip to content

Commit 75edc5c

Browse files
committed
Modificación .gitignore + yml pypi
1 parent f90199c commit 75edc5c

File tree

2 files changed

+32
-4
lines changed

2 files changed

+32
-4
lines changed

.github/workflows/publish-package.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Publish Python Package to PyPI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
9+
build-and-publish:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
- name: Set up Python
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: 3.9
19+
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install build
24+
25+
- name: Build package
26+
run: python -m build
27+
28+
- name: Publish to PyPI
29+
uses: pypa/gh-action-pypi-publish@release/v1
30+
with:
31+
user: cortega
32+
password: ${{ secrets.rutificador }}

.gitignore

-4
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ dist/
3434
*.orig
3535
*.tmp
3636

37-
# Hidden directories (e.g., config, logs)
38-
.*
39-
!.gitignore
40-
4137
# Log files
4238
*.log
4339

0 commit comments

Comments
 (0)