Initial upload with CI/CD workflow
Some checks failed
Auto Merge / auto-merge (push) Has been cancelled
Build / build (push) Has been cancelled
Checkov / checkov (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CLA Assistant / CLA (push) Has been cancelled
CodeQL / codeql (push) Has been cancelled
Container Scan / container-scan (push) Has been cancelled
Contributors / contributors (push) Has been cancelled
Coverage / coverage (push) Has been cancelled
Dependency Graph / dependency-graph (push) Has been cancelled
Deploy / deploy (push) Has been cancelled
Docker Publish / docker (push) Has been cancelled
Docs / docs (push) Has been cancelled
Format / format (push) Has been cancelled
GitHub Pages / deploy (push) Has been cancelled
Git Version / git-version (push) Has been cancelled
Gitleaks / gitleaks (push) Has been cancelled
Gitmoji / gitmoji (push) Has been cancelled
Integration / integration (push) Has been cancelled
KICS / kics (push) Has been cancelled
Labeler / labeler (push) Has been cancelled
Lint / lint (push) Has been cancelled
PR Audit / pr-audit (push) Has been cancelled
Pre-Commit / pre-commit (push) Has been cancelled
Reviewdog / reviewdog (push) Has been cancelled
OpenSSF Scorecard / scorecard (push) Has been cancelled
Scorecards / scorecard (push) Has been cancelled
Secrets Scan / secrets-scan (push) Has been cancelled
Security / security (push) Has been cancelled
Semantic Release / release (push) Has been cancelled
Snyk / snyk (push) Has been cancelled
Super-Linter / super-lint (push) Has been cancelled
Test / test (3.10) (push) Has been cancelled
Test / test (3.11) (push) Has been cancelled
Test / test (3.12) (push) Has been cancelled
Test / test (3.8) (push) Has been cancelled
Test / test (3.9) (push) Has been cancelled
Trivy / trivy (push) Has been cancelled
TruffleHog / trufflehog (push) Has been cancelled
Validate / validate (push) Has been cancelled

This commit is contained in:
2026-01-31 11:08:11 +00:00
parent 58a534c745
commit debff6cbfa

View File

@@ -0,0 +1,30 @@
name: Deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -e .
- name: Deploy to PyPI
env:
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: |
if [ "${{ github.event.release.prerelease }}" == "false" ]; then
pip install build
python -m build
twine upload dist/*;
fi