webappify/.woodpecker.yml

31 lines
665 B
YAML
Raw Permalink Normal View History

2024-09-27 16:20:58 +00:00
steps:
# tests:
# image: python:3
# commands:
# - pip install -U pip wheel pytest PyQt5 PyQtWebEngine
# - pytest
# when:
# branch: master
build:
image: python:3
commands:
2022-06-13 15:00:11 +00:00
- git fetch origin
- pip install -U pip wheel hatch hatch-vcs
- hatch build
when:
branch: master
release:
image: python:3
commands:
2022-06-13 15:00:11 +00:00
- git fetch origin
- pip install -U pip wheel hatch hatch-vcs
- hatch build
- hatch publish
2024-09-27 16:20:58 +00:00
environment:
HATCH_INDEX_USER:
from_secret: hatch_pypi_user
HATCH_INDEX_AUTH:
from_secret: hatch_pypi_auth
when:
event: tag