with Unity Cloud Build and Vercel?
Cancel a deployment which is currently building. See the documentation
Create a new deployment from a GitHub repository. See the documentation
List deployments under the account corresponding to the API token. See the documentation
The Unity Cloud Build API lets you automate the process of setting up and distributing game builds. It's a powerful suite of tools allowing developers to personalize and streamline build tasks. With Pipedream, you can harness this API to integrate build processes with your existing tools, notify teams, deploy builds to platforms, and react to events in Unity Cloud Build in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
unity_cloud_build: {
type: "app",
app: "unity_cloud_build",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://build-api.cloud.unity3d.com/api/v1/users/me`,
auth: {
username: `${this.unity_cloud_build.$auth.api_key}`,
password: ``,
},
})
},
})
The Vercel API empowers developers to automate, manage, and interact with their Vercel projects and deployments directly through code. With the Vercel API on Pipedream, you can harness the power of serverless functions to create dynamic and responsive workflows. Automate deployment processes, sync deployment statuses with other tools, trigger notifications based on deployment events, or manage your domains and aliases—all within the seamless integration landscape of Pipedream.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
vercel_token_auth: {
type: "app",
app: "vercel_token_auth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.vercel.com/www/user`,
headers: {
Authorization: `Bearer ${this.vercel_token_auth.$auth.personal_access_token}`,
},
})
},
})