switch to new drone syntax
This commit is contained in:
parent
0e5f185e41
commit
61c99ae013
26
.drone.yml
26
.drone.yml
|
@ -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
|
||||
|
|
Reference in New Issue