diff --git a/.drone.yml b/.drone.yml index dd43775d..f74e13fd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -426,7 +426,7 @@ steps: - commands: - . ~/.init-nvm.sh - yarn run create-gcom-plugin-json ${DRONE_COMMIT} - - ./scripts/push-to-gcom.sh + - yarn run push-to-gcom depends_on: - publish_to_github environment: @@ -488,6 +488,6 @@ kind: secret name: gar --- kind: signature -hmac: 04abae61fca21a27f8b24027ca87a9c8e54b06200f089e058641076fd3ef2300 +hmac: 7b4ac9022a4c86d90d4fc34781090490f87a7b4b84a994a6389af96c618b256f ... diff --git a/package.json b/package.json index 581e7155..e7435c2e 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "build": "tsc", "start": "node build/app.js server --config=dev.json", "create-gcom-plugin-json": "ts-node scripts/createGcomPluginJson.ts ./scripts/tmp", + "push-to-gcom": "sh ./scripts/push-to-gcom.sh", "test-update": "cross-env UPDATE_GOLDEN=true jest", "test": "sh ./scripts/run_tests.sh", "test-ci": "jest", diff --git a/scripts/drone/promotion.star b/scripts/drone/promotion.star index 1a2f78d4..2e81a75e 100644 --- a/scripts/drone/promotion.star +++ b/scripts/drone/promotion.star @@ -52,7 +52,7 @@ def publish_to_gcom(): 'commands': [ '. ~/.init-nvm.sh', 'yarn run create-gcom-plugin-json ${DRONE_COMMIT}', - './scripts/push-to-gcom.sh', + 'yarn run push-to-gcom', ], 'environment': { 'GCOM_URL': from_secret('gcom_url'),