Skip to content

Commit

Permalink
CI: Fix publish to gcom step (#522)
Browse files Browse the repository at this point in the history
* test to fix push-to-gcom

* Update promotion.star

* Update .drone.yml

* remove test updates
  • Loading branch information
AgnesToulet authored May 23, 2024
1 parent 262fca6 commit ccaf273
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -488,6 +488,6 @@ kind: secret
name: gar
---
kind: signature
hmac: 04abae61fca21a27f8b24027ca87a9c8e54b06200f089e058641076fd3ef2300
hmac: 7b4ac9022a4c86d90d4fc34781090490f87a7b4b84a994a6389af96c618b256f

...
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion scripts/drone/promotion.star
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit ccaf273

Please sign in to comment.