ci: fix lowercase 'w' in env name
This commit is contained in:
parent
51ed30634d
commit
21c3be56bc
64
.drone.yml
64
.drone.yml
|
@ -5,46 +5,46 @@ type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# - name: create virtual env
|
- name: create virtual env
|
||||||
# image: python:3.11-alpine
|
image: python:3.11-alpine
|
||||||
# commands:
|
commands:
|
||||||
# - python -m venv .venv
|
- python -m venv .venv
|
||||||
|
|
||||||
# - name: install
|
- name: install
|
||||||
# image: python:3.11-alpine
|
image: python:3.11-alpine
|
||||||
# commands:
|
commands:
|
||||||
# - &path
|
- &path
|
||||||
# export PATH="$$DRONE_WORKSPACE/.venv/bin:$$PATH"
|
export PATH="$$DRONE_WORKSPACE/.venv/bin:$$PATH"
|
||||||
# - echo $$PATH
|
- echo $$PATH
|
||||||
# - which pip
|
- which pip
|
||||||
# - pip install black build flake8 isort twine
|
- pip install black build flake8 isort twine
|
||||||
|
|
||||||
# - name: check style
|
- name: check style
|
||||||
# image: python:3.11-alpine
|
image: python:3.11-alpine
|
||||||
# commands:
|
commands:
|
||||||
# - *path
|
- *path
|
||||||
# - black --check .
|
- black --check .
|
||||||
# - isort -c .
|
- isort -c .
|
||||||
# - flake8 .
|
- flake8 .
|
||||||
|
|
||||||
# - name: build
|
- name: build
|
||||||
# image: python:3.11-alpine
|
image: python:3.11-alpine
|
||||||
# commands:
|
commands:
|
||||||
# - *path
|
- *path
|
||||||
# - python -m build
|
- python -m build
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
image: python:3.11-alpine
|
image: python:3.11-alpine
|
||||||
commands:
|
commands:
|
||||||
- echo $$TWINE_PASSWORD
|
- *path
|
||||||
# - *path
|
- keyring --disable
|
||||||
# - keyring --disable
|
- twine upload --non-interactive --repository-url https://git.luj0ga.de/api/packages/kontakt/pypi -u '' dist/*
|
||||||
# - twine upload --non-interactive --repository-url https://git.luj0ga.de/api/packages/kontakt/pypi -u '' dist/*
|
|
||||||
environment:
|
environment:
|
||||||
TwINE_PASSWORD: 'debug'
|
TWINE_PASSWORD:
|
||||||
# when:
|
from_secret: repo_token
|
||||||
# event:
|
when:
|
||||||
# - tag
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
|
Loading…
Reference in New Issue