diff --git a/.drone.yml b/.drone.yml index b776aef..0e5afe4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,12 +11,12 @@ steps: - poetry run pytest - name: publish - when: - branch: - - master - event: - exclude: - - pull_request + # when: + # branch: + # - master + # event: + # exclude: + # - pull_request image: python:3.7 environment: GITEA_PACKAGE_REPO: @@ -28,7 +28,7 @@ steps: commands: - pip install poetry twine - poetry build - - echo "[distutils]\nindex-servers = gitea\n\n[gitea]\nrepository = ${GITEA_PACKAGE_REPO}\nusername = ${GITEA_OWNER}\npassword = ${GITEA_TOKEN}" > ~/.pypirc + - echo "[distutils]\nindex-servers = gitea\n\n[gitea]\nrepository = $${GITEA_PACKAGE_REPO}\nusername = $${GITEA_OWNER}\npassword = $${GITEA_TOKEN}" > ~/.pypirc - twine upload -r gitea ./dist/*.whl