37 lines
781 B
YAML
37 lines
781 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: d4armory
|
|
|
|
trigger:
|
|
event:
|
|
- custom
|
|
- cron
|
|
|
|
clone:
|
|
depth: 1
|
|
|
|
steps:
|
|
- name: sync with d4armory.io
|
|
image: git.goatpr0n.de/jpk/d4armorystash:0.3.1
|
|
commands:
|
|
- d4armory fetch armory
|
|
- d4armory fetch clan
|
|
- d4armory evaluate armory
|
|
- d4armory evaluate clan
|
|
|
|
- name: archive old data
|
|
image: git.goatpr0n.de/jpk/d4armorystash:0.3.1
|
|
commands:
|
|
- d4armory archive armory
|
|
- d4armory archive clan
|
|
|
|
- name: push updates
|
|
image: appleboy/drone-git-push
|
|
settings:
|
|
branch: ${DRONE_BRANCH}
|
|
remote: ssh+git://git@git.goatpr0n.de:29418/jpk/d4armorystash.git
|
|
author_name: Drone CI Pipeline
|
|
author_email: drone-ci@pipeline
|
|
ssh_key:
|
|
from_secret: ssh_key
|