This commit is contained in:
20
.drone.yml
Normal file
20
.drone.yml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: adixComponents
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: node
|
||||||
|
commands:
|
||||||
|
- npm ci
|
||||||
|
- npm run build:prod
|
||||||
|
|
||||||
|
- name: publish
|
||||||
|
image: plugins/npm
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: username
|
||||||
|
password:
|
||||||
|
from_secret: password
|
||||||
|
email: kovacsadam07@outlook.hu
|
||||||
@@ -27,4 +27,4 @@ gulp.task('clean', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('build', builder(false));
|
gulp.task('build', builder(false));
|
||||||
gulp.task('build:production', builder(true));
|
gulp.task('build:prod', builder(true));
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "gulp build",
|
"build": "gulp build",
|
||||||
|
"build:prod": "gulp build:prod",
|
||||||
"clean": "gulp clean"
|
"clean": "gulp clean"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
|
|||||||
Reference in New Issue
Block a user