Using gitea npm registry
Some checks failed
continuous-integration/drone Build is failing

WIP

WIP
This commit is contained in:
Brandon Watson 2023-01-19 13:33:03 -06:00
parent e1ac0a3a5b
commit 9cf8ef3c60
2 changed files with 123 additions and 119 deletions

View File

@ -28,14 +28,16 @@ steps:
- master
- name: publish pre
image: plugins/npm:1.0.0
image: plugins/npm:latest
settings:
username:
from_secret: npm_username
password:
from_secret: npm_password
token:
from_secret: npm_token
email: b.watson@watsonlabs.net
registry: "http://10.44.1.6:4873/"
registry: "https://gitea.watsonlabs.net"
when:
event:
exclude:
@ -46,12 +48,14 @@ steps:
- master
- name: publish tagged version
image: plugins/npm:1.0.0
image: plugins/npm:latest
settings:
username:
from_secret: npm_username
password:
from_secret: npm_password
token:
from_secret: npm_token
email: b.watson@watsonlabs.net
registry: "http://10.44.1.6:4873/"
when:
@ -92,7 +96,7 @@ steps:
from_secret: ssh_key
port: 22
script:
- npm install -g @watsonb8/homebridge-flux --registry http://10.44.1.6:4873
- npm install -g @watsonb8/homebridge-flux --registry https://gitea.watsonlabs.net
when:
event:
- tag

View File

@ -1,10 +1,10 @@
{
"name": "@watsonb8/homebridge-flux",
"version": "1.1.3",
"version": "1.1.4",
"description": "",
"main": "bin/index.js",
"publishConfig": {
"registry": "http://10.44.1.6:4873/"
"registry": "https://gitea.watsonlabs.net"
},
"files": [
"bin",