Allow specify project title in webhook request

This commit is contained in:
Stepan Strelets 2017-11-08 11:50:32 +03:00
commit eca63d81e2
2 changed files with 21 additions and 3 deletions

View file

@ -17,6 +17,13 @@ Installation
#!/bin/sh
PROJECT_ID=1
# You can use the project title instead of the id:
# PROJECT_ID=my_project_title
# If the names of the repository and the project match:
# PROJECT_ID=`basename \`pwd\` | sed 's#\.git$##'`
APP_URL="http://my.server.com/php-censor/"
trigger_hook() {