add drone config to build and push artifacts
the build failed Details

This commit is contained in:
Robert Kaussow 2018-12-23 00:10:48 +01:00
parent e953cb9938
commit 008cdde065
1 changed files with 20 additions and 0 deletions

20
.drone.yml Normal file
View File

@ -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