APIs & Integrations

GLopez13
Participant

Upload app from CircleCi pipeline

Hello,

I am willing to configure a CircleCi pipeline where I can "upload" the private app I am developping (I have a React repo where I am using the hubspot SDK). Now, I am doing the "upload" running those steps in my console:
1) hs auth (opens the page to get my personal access key, then I could copy the key and paste in to my terminal)
2)Once logged run: "npx hs project upload APP_NAME" to deploy

Is there a way to do the deployment passing directly the "personal access key"? I would like to store it into a Secret Manager, get it and the just pass it into the "deploy" command (avoiding the step of opening the external page) Or even is there a way to use the "hubspot.config.yml" file to do it ( saw it contains the personal key as well)

Any ideas about how would be the best way to do this? 

Thanks in advance! 

0 Upvotes
1 Reply 1
Jaycee_Lewis
Community Manager
Community Manager

Upload app from CircleCi pipeline

Hi, @GLopez13 👋 Thanks for the interesting question. It “sounds” like it should be feasible, and I don't have direct experience here. Hey @evaldas @Anton @alyssamwilie, do you have any thoughts or suggestions for @GLopez13?

 

Thank you very much for taking a look! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes