We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 374b62a commit 9b45bf0Copy full SHA for 9b45bf0
1 file changed
src/Controller.php
@@ -17,7 +17,7 @@ public function run() : void {
17
'wp2static_deploy',
18
[ $this, 'deploy' ],
19
15,
20
- 1
+ 2
21
);
22
23
add_action(
@@ -238,7 +238,11 @@ public static function renderS3Page() : void {
238
}
239
240
241
- public function deploy( string $processed_site_path ) : void {
+ public function deploy( string $processed_site_path, string $enabled_deployer ) : void {
242
+ if ( $enabled_deployer !== 'wp2static-addon-s3' ) {
243
+ return;
244
+ }
245
+
246
\WP2Static\WsLog::l( 'S3 Addon deploying' );
247
248
$s3_deployer = new Deployer();
0 commit comments