We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ad4e45 commit eea97c5Copy full SHA for eea97c5
.github/workflows/README.md
@@ -14,7 +14,7 @@ Déclenché sur :
14
- Build le package Python
15
- Vérifie avec twine
16
- Upload les artifacts
17
- - 🚀 Publie sur PyPI si tag `v*`
+ - 🚀 **Publie automatiquement sur PyPI** (push sur main)
18
19
2. **Build Docker Image**
20
- Build l'image Docker multi-arch (amd64, arm64)
.github/workflows/build.yml
@@ -48,7 +48,7 @@ jobs:
48
retention-days: 7
49
50
- name: Publish to PyPI
51
- if: startsWith(github.ref, 'refs/tags/v')
+ if: github.ref == 'refs/heads/main' && github.event_name == 'push'
52
env:
53
TWINE_USERNAME: __token__
54
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments