Deployment made simple. We make it super easy to automate deploying projects from Git, SVN and Mercurial repositories.
DeployHQ is a service that automates the deployment of your web applications. By integrating with version control systems, DeployHQ can automatically deploy code changes to various environments. Using the DeployHQ API on Pipedream, you can orchestrate deployments, manage your projects, and synchronize deployment activities with other tools in your toolchain. It opens up possibilities for custom deployment workflows, notifications, monitoring, and more, all connected within the Pipedream ecosystem.
import { 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}`,
},
})
},
})
The GitHub API is a powerful gateway to interaction with GitHub's vast web of data and services, offering a suite of endpoints to manipulate and retrieve information on repositories, pull requests, issues, and more. Harnessing this API on Pipedream, you can orchestrate automated workflows that respond to events in real-time, manage repository data, streamline collaborative processes, and connect GitHub with other services for a more integrated development lifecycle.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
github: {
type: "app",
app: "github",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.github.com/user`,
headers: {
Authorization: `Bearer ${this.github.$auth.oauth_access_token}`,
"X-GitHub-Api-Version": `2022-11-28`,
},
})
},
})