Configuring Push to Deploy

Server > Site > Git

When you enable Push to Deploy for your Git site a Deployment URL will be automatically generated for you. You need to configure your Git provider to send a POST request to this URL to trigger a deployment (normally after a push). A deployment will pull the latest changes from your Git repository to the site on your server and optionally run a deployment script afterwards (if you have it configured).

Here are some instructions for configuring your Deployment URL with some popular Git providers:

GitHub

At your GitHub repository navigate to Settings > Webhooks > Add Webhook.

Webhooks to Add Webhooks

  • Enter the generated Deployment URL in the Payload URL field.
  • Set the Content type to “application/json”.
  • Leave the Secret field blank.
  • Leave the other setting as their defaults.

After hitting “Add webhook” you can go back to configuring your site. The next time you push code to your repository a deployment should be automatically triggered in SpinupWP.

GitLab

At your GitLab repository navigate to Settings > Integrations.

  • Enter the generated Deployment URL in the URL field.
  • Leave the Secret Token field blank.
  • Leave the other setting as their defaults.

After hitting “Add webhook” you can go back to configuring your site. The next time you push code to your repository a deployment should be automatically triggered in SpinupWP.

BitBucket

At your BitBucket repository navigate to Settings > Webhooks > Add Webhook.

GitLab Integrations

  • Add a Title.
  • Enter the generated Deployment URL in the URL field.
  • Leave the other setting as their defaults.

After hitting “Save” you can go back to configuring your site. The next time you push code to your repository a deployment should be automatically triggered in SpinupWP.

Start Your 7-Day Free Trial

Start your SpinupWP journey today and spin up your first server within minutes.

Start Your Free Trial

No credit card required

Subscribe to get the latest news, updates and optimizations in performance and security.

Thanks for subscribing 👍

To receive awesome stuff, you'll need to head to your inbox and click on the verification link we sent you.
Make sure to check your "spam" folder or your "promotions" tab (if you have Gmail).
If you're still having trouble, then messages us at sudo@spinupwp.com.

You are already logged in

It looks like you are already logged in to SpinupWP.

Please log out of this account to continue.

Registration Successful

Thanks for registering for a new
SpinupWP account.

Before getting started, could you verify your email address by clicking on the link we just emailed to you?

SpinupWP

Free Trial

Start Your 7-Day Free Trial

No credit card required. All features included.

By signing up to SpinupWP, you agree to our Terms and Conditions.
For privacy related information, view our Privacy Policy.