DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 963,274 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Chetan
Chetan

Posted on • Updated on

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

Top comments (2)

Collapse
 
bauripalash profile image
Palash Bauri πŸ‘» • Edited on

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 Author

Updated the screenshots..

🌚 Life is too short to browse without dark mode