From 32715c5092f6fb559ad19f088845226ea36325dd Mon Sep 17 00:00:00 2001 From: Brandon Watson Date: Fri, 27 Jan 2023 16:20:31 -0600 Subject: [PATCH] Updating to use gitea npm registry --- .drone.yml | 32 ++++++++++++++++---------------- package.json | 6 +++--- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.drone.yml b/.drone.yml index c21148c..eca74b3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -28,14 +28,14 @@ steps: - master - name: publish pre - image: plugins/npm:1.0.0 - settings: - username: - from_secret: npm_username - password: - from_secret: npm_password - email: b.watson@watsonlabs.net - registry: "http://10.44.1.6:4873/" + image: node + environment: + token: + from_secret: npm_token + commands: + - npm config set @watsonb8:registry https://gitea.watsonlabs.net/api/packages/watsonb8/npm/ + - npm config set -- '//gitea.watsonlabs.net/api/packages/watsonb8/npm/:_authToken' "$token" + - npm publish when: event: exclude: @@ -46,14 +46,14 @@ steps: - master - name: publish tagged version - image: plugins/npm:1.0.0 - settings: - username: - from_secret: npm_username - password: - from_secret: npm_password - email: b.watson@watsonlabs.net - registry: "http://10.44.1.6:4873/" + image: node + environment: + token: + from_secret: npm_token + commands: + - npm config set @watsonb8:registry https://gitea.watsonlabs.net/api/packages/watsonb8/npm/ + - npm config set -- '//gitea.watsonlabs.net/api/packages/watsonb8/npm/:_authToken' "$token" + - npm publish when: event: - tag diff --git a/package.json b/package.json index 5b2d120..888f633 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "@watsonb8/homebridge-hue-chase", - "version": "1.1.3", + "version": "1.1.4", "description": "A Phillips Hue add on for creating chase sequences.", "main": "bin/index.js", "publishConfig": { - "registry": "http://10.44.1.6:4873/" + "registry": "https://gitea.watsonlabs.net" }, "scripts": { "build": "tsc --build", @@ -37,4 +37,4 @@ "homebridge": "^0.4.53", "typescript": "^4.5.4" } -} +} \ No newline at end of file