Skip to content

Commit ccaf273

Browse files
authored
CI: Fix publish to gcom step (#522)
* test to fix push-to-gcom * Update promotion.star * Update .drone.yml * remove test updates
1 parent 262fca6 commit ccaf273

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.drone.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ steps:
426426
- commands:
427427
- . ~/.init-nvm.sh
428428
- yarn run create-gcom-plugin-json ${DRONE_COMMIT}
429-
- ./scripts/push-to-gcom.sh
429+
- yarn run push-to-gcom
430430
depends_on:
431431
- publish_to_github
432432
environment:
@@ -488,6 +488,6 @@ kind: secret
488488
name: gar
489489
---
490490
kind: signature
491-
hmac: 04abae61fca21a27f8b24027ca87a9c8e54b06200f089e058641076fd3ef2300
491+
hmac: 7b4ac9022a4c86d90d4fc34781090490f87a7b4b84a994a6389af96c618b256f
492492

493493
...

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"build": "tsc",
1919
"start": "node build/app.js server --config=dev.json",
2020
"create-gcom-plugin-json": "ts-node scripts/createGcomPluginJson.ts ./scripts/tmp",
21+
"push-to-gcom": "sh ./scripts/push-to-gcom.sh",
2122
"test-update": "cross-env UPDATE_GOLDEN=true jest",
2223
"test": "sh ./scripts/run_tests.sh",
2324
"test-ci": "jest",

scripts/drone/promotion.star

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def publish_to_gcom():
5252
'commands': [
5353
'. ~/.init-nvm.sh',
5454
'yarn run create-gcom-plugin-json ${DRONE_COMMIT}',
55-
'./scripts/push-to-gcom.sh',
55+
'yarn run push-to-gcom',
5656
],
5757
'environment': {
5858
'GCOM_URL': from_secret('gcom_url'),

0 commit comments

Comments
 (0)