Skip to content

Commit

Permalink
Trigger deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Luc45 committed Mar 20, 2024
1 parent 5dd52cb commit 89419a9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/scripts/deploy.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,11 @@
$docs_upload_id = wp_generate_uuid4();
$total_chunks = ceil( $file->getSize() / ( $chunk_size_bytes ) );


var_dump(file_get_contents('https://stagingcompatibilitydashboard.wpcomstaging.com/foo.txt'));
var_dump(file_get_contents('https://stagingcompatibilitydashboard.wpcomstaging.com/wp-content/mu-plugins/bar.txt'));

while ( $file->valid() ) {
$current_chunk ++;
$curl = curl_init();
$args = [
CURLOPT_URL => 'https://stagingcompatibilitydashboard.wpcomstaging.com/wp-content/mu-plugins/deploy-docs.php',
CURLOPT_URL => getenv( 'DEPLOY_ENDPOINT' ),
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
Expand Down

0 comments on commit 89419a9

Please sign in to comment.