switch to new drone syntax

This commit is contained in:
Robert Kaussow 2019-01-13 16:55:17 +01:00
parent 0e5f185e41
commit 61c99ae013

View File

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