GOGETMUSCLE Community How can I let CICD to deploy an app to Hubspot

How can I let CICD to deploy an app to Hubspot

I am trying to set up a new app in hubspot. By reading the doc, it needs to run “hs init” followed by “hs create poject” frist. I will get a project with some source code inside as project template. More importantly, it creates a file `hubspot.config.yml` includes my personal access token.

After that, when I want to deploy the project to Hubspot, I needs to run “hs project upload”. But I don’t want to run this command from my local computer. I want to run the upload command from my CICD which is github workflow.

The `hubspot.config.yml` file created above is not commited into github. How should I upload the app via CICD? Where should I put the `hubspot.config.yml` file?

Leave a Reply

Your email address will not be published.

Related Post