From 008cdde065ebde15126a181772f2c796de3cd636 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 23 Dec 2018 00:10:48 +0100 Subject: [PATCH] add drone config to build and push artifacts --- .drone.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..9c20d5a --- /dev/null +++ b/.drone.yml @@ -0,0 +1,20 @@ +pipeline: + build: + image: node + commands: + - npm install -g bower gulp + - npm install + - npm test + - gulp + event: push + + update: + image: appleboy/drone-git-push + branch: master + commit: true + commit-message: "[SKIP CI] update artifacts" + force: false + secrets: + - DRONE_COMMIT_AUTHOR + - DRONE_COMMIT_AUTHOR_EMAIL + - GIT_PUSH_SSH_KEY