Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hot to setup the deployer for automatic deployment, plugin documentation isn't helping, what the webhook url supposed to do, how it will trigger the deployer? #1345

Open
4 tasks
surajprgupta opened this issue Oct 30, 2017 · 1 comment

Comments

@surajprgupta
Copy link

Before submitting your issue, please make sure that you've checked all of the checkboxes below.

  • You're running the latest release version of PHPCI.
  • Ensure that you're running at least PHP 5.3.6, you can check this by running php -v
  • You've run composer install --no-dev -o from the root of your installation.
  • You have set up either the PHPCI Worker, Daemon or Cron Job to run builds.

To help us better understand your issue, please answer the following.

Expected behaviour

Please describe what you're expecting to see happen.

Actual behaviour

Please describe what you're actually seeing happen.

Steps to reproduce

If your issue requires any specific steps to reproduce, please outline them here.

Environment info

Operating System:
PHP Version:
MySQL Version:

Logs or other output that would be helpful

(If logs are large, please upload as attachment).

@underthecocotree
Copy link

To get the URL you need to login to deployer. Go to the project you want to run deployer. Go to Commands. (The commands that need to run when you deploy). Under the Commands tab you will find on the first line.

Deployments may be triggered by using the following webhook URL

Just copy the URL under the sentence above.

In phpci.yml

success:
  deployer:
    webhook_url: "URL_HERE"

This way on success phpci will call deployer via the webhook. You need to make sure that the webhook is accessible by your phpci server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants