Skip to content

Commit 5fe6b6f

Browse files
committed
ci: remove duplicate deploy job — publish.yml handles PyPI manually
1 parent f2c0b8f commit 5fe6b6f

1 file changed

Lines changed: 0 additions & 38 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -119,41 +119,3 @@ jobs:
119119
--dict-name dict1
120120
grep -q "hello bar world" "$workdir/sample.txt" || { echo "replacement failed"; cat "$workdir/sample.txt"; exit 1; }
121121
rm -rf "$workdir"
122-
123-
deploy:
124-
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
125-
runs-on: ubuntu-latest
126-
needs: [test, security, integration]
127-
environment: pypi
128-
permissions:
129-
contents: write
130-
id-token: write
131-
steps:
132-
- uses: actions/checkout@v4
133-
134-
- name: Setup Python
135-
uses: actions/setup-python@v5
136-
with:
137-
python-version: "3.12"
138-
139-
- name: Install dependencies
140-
run: |
141-
python -m pip install --upgrade pip
142-
pip install -e ".[dev]" build
143-
144-
- name: Build package
145-
run: |
146-
python -m build
147-
148-
- name: Publish to PyPI
149-
uses: pypa/gh-action-pypi-publish@release/v1
150-
151-
- name: Create GitHub Release
152-
uses: softprops/action-gh-release@v2
153-
with:
154-
generate_release_notes: true
155-
files: |
156-
dist/*.whl
157-
dist/*.tar.gz
158-
env:
159-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)