DEV Community

Chetan
Chetan

Posted on • Edited on

6 4

Auto trigger manual deployment of Netlify with Siri

Apple has released the latest iOS version — iOS 12 for iPhone on September 17th

  1. Also, Apple has released a new app Siri Shortcuts, which we’ll be using to trigger the manual deployment.


Photo Source —
https://unsplash.com/photos/04TYM24Wi2c

Firstly, create a build hook URL in your Netlify project

  1. Goto — https://app.netlify.com/sites//settings/deploys
  2. Click on Add build hook button, Enter the details
  3. Generate the Build hook url
  4. Copy the Build hook url - https://api.netlify.com/build_hooks/

Launch Shortcuts app

Step 1: Create Shortcut

Step 2: Click on the settings icon on the top right and enter the name and then
click on Done.

Step 3: Search for URL and then enter the Netlify build hook URL of your app
in the text as shown below.

Step 4: Search for Get Contents of URL, change the method type to **POST
**as shown in the screenshot.

Ask Siri

Trigger Netlify Deployment

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (2)

Collapse
 
bauripalash profile image
Palash Bauri 👻 • Edited

Step 4: Search for Get Contents of URL, change the method type to **POST
**as shown in the screenshot.

Where's The Appropriate Screenshot?

Collapse
 
chetan_raj profile image
Chetan

Updated the screenshots..

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay