Skip to content

Commit e1a9fe0

Browse files
committed
chore: added publish workflow
1 parent 202c9f5 commit e1a9fe0

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

.github/workflows/publish.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Publish to PyPI
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*.*.*"
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Install uv
15+
run: curl -LsSf https://astral.sh/uv/install.sh | sh
16+
17+
- name: Build package
18+
run: uv build
19+
20+
- name: Publish to PyPI
21+
uses: pypa/gh-action-pypi-publish@release/v1
22+
with:
23+
password: ${{ secrets.PYPI_API_TOKEN }}

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
[project]
22
name = "superstac"
33
version = "0.1.0"
4-
description = "Add your description here"
4+
description = "High-availability satellite imagery retrieval across multiple STAC catalogs."
55
readme = "README.md"
66
requires-python = ">=3.9"
77
dependencies = [
88
"pystac-client==0.8.5",
99
]
10-
10+
license = { text = "MIT" }
11+
authors = [{ name = "Emmanuel Jolaiya", email = "[email protected]" }]
1112
[tool.uv]
1213
dev-dependencies = [
1314
"ruff",

0 commit comments

Comments
 (0)