switch to new drone syntax

This commit is contained in:
Robert Kaussow 2019-01-13 16:55:17 +01:00
parent 0e5f185e41
commit 61c99ae013
1 changed files with 17 additions and 9 deletions

View File

@ -1,5 +1,9 @@
pipeline:
build:
---
kind: pipeline
name: default
steps:
- name: build
image: node
commands:
- npm install -g gulp
@ -8,13 +12,17 @@ pipeline:
when:
event: push
update:
- name: update
image: appleboy/drone-git-push
branch: master
remote: gitea@gitea.rknet.org:xoxys/theme-geeklab.git
commit: true
commit-message: "[SKIP CI] update artifacts"
force: false
secrets: [git_push_ssh_key]
settings:
branch: master
remote: gitea@gitea.rknet.org:xoxys/theme-geeklab.git
commit: true
commit-message: "[SKIP CI] update artifacts"
force: false
key:
from_secret: git_push_ssh_key
author_name: DroneShipper
author_email: shipper@rknet.org
when:
event: push