This repository has been archived on 2023-10-01. You can view files and clone it, but cannot push or open issues or pull requests.
PyNyaaTa/.drone.yml
Michel Roux cc1f669a32
All checks were successful
continuous-integration/drone/push Build is passing
Let dependabot decide of the python version
2020-12-08 17:20:44 +01:00

47 lines
885 B
YAML

kind: pipeline
name: default
type: docker
steps:
- name: flake8
image: python:slim
commands:
- pip install flake8
- flake8 pynyaata --ignore=E501
- name: docker
image: plugins/docker
settings:
repo: xefir/pynyaata
auto_tag: true
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: pypi
image: plugins/pypi
settings:
username:
from_secret: pypi_username
password:
from_secret: pypi_password
when:
branch:
- master
---
kind: pipeline
name: dependabot
type: docker
steps:
- name: dependabot
image: xefir/docker-dependabot-gitea
environment:
GITHUB_ACCESS_TOKEN:
from_secret: github_access_token
GITEA_ACCESS_TOKEN:
from_secret: gitea_access_token
when:
event:
- cron