Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Luc45 committed Mar 20, 2024
1 parent 054f943 commit 5dd52cb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/scripts/deploy.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,15 @@
$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 => getenv( 'DEPLOY_ENDPOINT' ),
CURLOPT_URL => 'https://stagingcompatibilitydashboard.wpcomstaging.com/wp-content/mu-plugins/deploy-docs.php',
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
Expand Down

0 comments on commit 5dd52cb

Please sign in to comment.