Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php git pull webhook

if ( $_POST['payload'] ) {
  shell_exec( 'cd /srv/www/git-repo/ && git reset --hard HEAD && git pull' );
}
Comment

PREVIOUS NEXT
Code Example
Php :: laravel orm latest() 
Php :: PHP strpos — Find the position of the first occurrence of a substring in a string 
Php :: php to python converter online free 
Php :: wordpress deny user to access wp-admin programmatically 
Php :: what does php stand for 
Php :: use htaccess to redirect in cpanel lsrsvel 
Php :: fetch data from database withour restarting console php 
Php :: get post date and time in wordpress 
Php :: carbon get difference between two dates in years and months 
Php :: wordpress codex get post type woocommerce products 
Php :: IlluminateDatabaseQueryException SQLSTATE[HY000]: General error: 3780 Referencing column 
Php :: wordpress code 
Php :: php range from one 
Php :: Laravel adimin - Form is editing or creating 
Php :: delete request php-salesforce-rest-api 
Php :: composer install error 
Php :: ascii vrednosti php 
Php :: Stripe Test - Laravel 
Php :: woocommerce_continue_shopping_redirect 
Php :: PHP strncasecmp — Binary safe case-insensitive string comparison of the first n characters 
Php :: webiste url filter with pregx 
Php :: how to read laravel query string with dash 
Php :: php make text id attribute safe 
Php :: PHP vprintf — Output a formatted string 
Php :: recaptcha v3 laravel 8 
Php :: encode string for csv 
Php :: database interaction in codeigniter 
Php :: php refresh_ttl 
Php :: ’ php 
Php :: pass guzzle client data to view laravel 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =