From edea8cea3fb2bb06c60e1a3632dab8e77a38a052 Mon Sep 17 00:00:00 2001 From: Gheorghita Hurmuz Date: Wed, 9 Apr 2025 16:51:18 +0300 Subject: [PATCH] chore: add manual cd --- .github/workflows/manual_cd.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/manual_cd.yml diff --git a/.github/workflows/manual_cd.yml b/.github/workflows/manual_cd.yml new file mode 100644 index 00000000..5e6b2cf0 --- /dev/null +++ b/.github/workflows/manual_cd.yml @@ -0,0 +1,33 @@ +name: Manual CD + +on: + workflow_dispatch: {} + +jobs: + build: + name: Manual CD - Build and publish + runs-on: "ubuntu-24.04" + + steps: + - uses: actions/checkout@v4 + + - uses: astral-sh/setup-uv@v5 + + - uses: actions/setup-python@v5 + with: + python-version-file: ".python-version" + + - name: Setup venv + run: | + uv venv + uv sync --all-extras + + - name: Build + run: | + uv build + + - name: "Publish" + run: | + uv publish + env: + UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}