ci: settings configured wrong
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Giles Bradshaw 2020-07-30 09:24:34 +01:00
parent 3a0ee95e59
commit bcf2a510b7
2 changed files with 16 additions and 23 deletions

View File

@ -4,9 +4,9 @@
name: 'test pipe', name: 'test pipe',
kind: 'pipeline', kind: 'pipeline',
type: 'docker', type: 'docker',
trigger: { /*trigger: {
event: ['tag'], event: ['tag'],
}, },*/
clone: { clone: {
disable: false, disable: false,
depth: 0, depth: 0,
@ -16,16 +16,14 @@
name: 'publish', name: 'publish',
image: 'plugins/npm', image: 'plugins/npm',
settings: { settings: {
settings: { username: {
username: { from_secret: 'npm-user',
from_secret: 'npm-user', },
}, password: {
password: { from_secret: 'npm-password',
from_secret: 'npm-password', },
}, email: {
email: { from_secret: 'npm-email',
from_secret: 'npm-email',
},
}, },
}, },
}, },

View File

@ -11,16 +11,11 @@ steps:
- name: publish - name: publish
image: plugins/npm image: plugins/npm
settings: settings:
settings: email:
email: from_secret: npm-email
from_secret: npm-email password:
password: from_secret: npm-password
from_secret: npm-password username:
username: from_secret: npm-user
from_secret: npm-user
trigger:
event:
- tag
... ...