diff --git a/.drone.yml b/.drone.yml index 201ea43..dc98daa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,7 +4,7 @@ ################ kind: pipeline -name: run_tests +name: test type: docker steps: @@ -36,23 +36,23 @@ steps: - name: cd image: python:3.7.2 commands: - # Install dependencies + - git fetch - pip install --no-cache-dir poetry - poetry install - - poetry run semantic-release publish + - poetry run semantic-release publish environment: LOGLEVEL: info - GITEA_TOKEN: + GITEA_TOKEN: from_secret: gitea_token volumes: - name: poetry_cache path: /root/.cache/pypoetry when: - branch: + branch: - main depends_on: -- run_tests + - test volumes: - name: poetry_cache host: - path: /tmp/cache/drone/pypoetry \ No newline at end of file + path: /tmp/cache/drone/pypoetry