Back
Button widget Button press. Netlify Trigger a deploy.

Trigger Netlify deploy with Button widget

Connect

How this automation works

Trigger a Netlify deploy with a single Button widget press. When you press the Button widget, this Applet runs and tells Netlify to trigger a new build for the site you select. It's ideal for developers and content editors who want to deploy updates on demand without opening the Netlify dashboard.

If
Button widget icon
Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time you press the button.
ShareURL Latitude Longitude LocationMapURL LocationMapImageURL OccurredAt
Then
Netlify icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
Trigger a new build and deployment for a Netlify site.
site_id clear_cache

Services used in this Applet

Create your own Netlify and Button widget workflow

Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.

7 triggers, queries, and actions

Build completed

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a build on your Netlify site finishes, whether it succeeded or failed. Use the BuildState ingredient to branch on the outcome.

Build started

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new build begins on your Netlify site.

Button press

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time you press the button.

Deployment failed

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a deployment on your Netlify site fails.

Deployment succeeded

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a deployment on your Netlify site completes successfully and goes live.

Site details

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
Look up details about a Netlify site, including its URL, last deploy state, and custom domain.

Trigger a deploy

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
Trigger a new build and deployment for a Netlify site.

Build completed

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a build on your Netlify site finishes, whether it succeeded or failed. Use the BuildState ingredient to branch on the outcome.

Build started

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new build begins on your Netlify site.

Button press

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time you press the button.

Deployment failed

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a deployment on your Netlify site fails.

Deployment succeeded

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a deployment on your Netlify site completes successfully and goes live.

Site details

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
Look up details about a Netlify site, including its URL, last deploy state, and custom domain.

Trigger a deploy

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
Trigger a new build and deployment for a Netlify site.

Build an automation in seconds!

You can add delays, queries, and more actions in the next step!

More on Netlify and Button widget

About Netlify

Netlify is a cloud platform for deploying and hosting modern web applications with git-based CI/CD, automated builds, and global CDN distribution. Connect your projects to automate deployment notifications and trigger builds programmatically.

Explore Netlify

More integrations with Netlify

About Button widget

Make buttons and control other services with a single tap. This service creates widgets that you can use from the home screen of your Android or iOS device.

Explore Button widget

More integrations with Button widget

IFTTT helps all your apps and devices work better together

Get started for free