Skip to content

Add simplified STAC notebook, restructure notebooks (#149) #9

Add simplified STAC notebook, restructure notebooks (#149)

Add simplified STAC notebook, restructure notebooks (#149) #9

Workflow file for this run

name: Publish dea-intertidal to PyPI
on:
push:
branches: [develop, uv_publish]
paths:
- 'pyproject.toml'
- 'intertidal/**'
- '.github/workflows/publish.yml'
- 'README.md'
release:
types: [published]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
# Check out Git repository with full history
# Required for `hatchling-vcs` to get correct version
- name: Check out
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install uv
uses: astral-sh/setup-uv@v2
with:
version: "0.7.5"
enable-cache: "true"
# Package will be built using version automatically
# generated from Git by `hatchling-vcs`
- name: Build package
run: uv build
# Publish to PyPI
- name: Publish package
run: uv publish
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}