Skip to content

Commit

Permalink
Debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Luc45 committed Mar 20, 2024
1 parent 89419a9 commit 69cb2ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/scripts/deploy.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

$file = new SplFileObject( getenv( 'FILE' ) );

$chunk_size_bytes = 64 * 1024; // 64kb
$chunk_size_bytes = 1024 * 1024; // 1mb
$current_chunk = 0;
$docs_upload_id = wp_generate_uuid4();
$total_chunks = ceil( $file->getSize() / ( $chunk_size_bytes ) );
Expand All @@ -31,7 +31,7 @@
$current_chunk ++;
$curl = curl_init();
$args = [
CURLOPT_URL => getenv( 'DEPLOY_ENDPOINT' ),
CURLOPT_URL => 'https://stagingcompatibilitydashboard.wpcomstaging.com/wp-content/plugins/deploy-docs.php',
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
Expand Down

0 comments on commit 69cb2ae

Please sign in to comment.