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 2843ec4ac0
All checks were successful
continuous-integration/drone/push Build is passing
Fix dependabot
2020-12-10 10:29:30 +01:00

54 lines
957 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
trigger:
event:
exclude:
- cron
---
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
PROJECT_PATH: Xefir/PyNyaaTa
trigger:
event:
- cron