Skip to content

Commit 1330b16

Browse files
committed
Refactor document processing and enhance user feedback
- Improved the document processing pipeline by optimizing error handling and feedback mechanisms for users during uploads. - Updated frontend components to display more informative error messages and contextual information for document processing failures. - Enhanced the API to provide clearer responses related to document upload statuses, improving overall user experience. These changes aim to streamline document management and enhance user interaction with the application.
1 parent 190d20c commit 1330b16

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/pypi-publish.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Publish docproc to PyPI on version tags (e.g. v2.0.2) or when a release is published.
2+
# Uses PyPI Trusted Publishing (OIDC) — no secrets required.
3+
# One-time setup: https://pypi.org/manage/project/docproc/settings/publishing/
4+
name: Publish to PyPI
5+
6+
on:
7+
push:
8+
tags:
9+
- 'v*'
10+
release:
11+
types: [published]
12+
workflow_dispatch:
13+
14+
permissions:
15+
id-token: write
16+
contents: read
17+
18+
jobs:
19+
pypi:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v4
24+
25+
- name: Set up Python
26+
uses: astral-sh/setup-uv@v4
27+
with:
28+
version: "latest"
29+
30+
- name: Build package
31+
run: uv build
32+
33+
- name: Publish to PyPI
34+
uses: pypa/gh-action-pypi-publish@release/v1
35+
# Trusted Publishing (OIDC): omit username/password. Configure at:
36+
# https://pypi.org/manage/project/docproc/settings/publishing/
37+
with:
38+
skip-existing: true
39+
verbose: true
40+
print-hash: true

0 commit comments

Comments
 (0)