Deployment made simple. We make it super easy to automate deploying projects from Git, SVN and Mercurial repositories.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
deployhq: {
type: "app",
app: "deployhq",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.deployhq.$auth.account_name}.deployhq.com/projects`,
headers: {
"Accept": `application/json`,
"Content-Type": `application/json`,
},
auth: {
username: `${this.deployhq.$auth.email}`,
password: `${this.deployhq.$auth.api_key}`,
},
})
},
})
DeployHQ doesn't provide a way to automatically setup webhooks so sources will need to be registered with DeployHQ manually. The source will need to be registered as an HTTP POST Integration.
DeployHQ uses API keys for authentication. When you connect your DeployHQ account, Pipedream securely stores the keys so you can easily authenticate to DeployHQ APIs in both code and no-code steps.
DeployHQ requires their users enter their email, API Key, and account name in order to connect to their API. For more info, refer to DeployHQ’s documentation.
To retrieve your API key,
Your account name is 1234
if your DeployHQ URL is https://1234.deployhq.com