diff --git a/.drone.yml b/.drone.yml index 46a14ed..b1d8f29 100644 --- a/.drone.yml +++ b/.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