Skip to content

Commit

Permalink
Always fire post-deploy action from the CLI. Fixes #843
Browse files Browse the repository at this point in the history
  • Loading branch information
john-shaffer committed Dec 15, 2021
1 parent 98ded54 commit 236c737
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
- [#837](https://github.com/leonstafford/wp2static/pull/837): Require PHP 7.4 or later; bump dependencies @leonstafford
- [#811](https://github.com/leonstafford/wp2static/issues/811): Optimize FilesHelper::getListOfLocalFilesByDir @bookwyrm
- [#805](https://github.com/leonstafford/wp2static/issues/805): Fix warning on cache page when there are no deployment namespaces @john-shaffer
- [#843](https://github.com/leonstafford/wp2static/issues/843): Always fire post-deployment action from the CLI, matching the normal behavior @michaelfig

## WP2Static 7.1.7 (2021-09-04)

Expand Down
3 changes: 2 additions & 1 deletion src/CLI.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,9 @@ public function deploy(
} else {
WsLog::l( 'Starting deployment' );
do_action( 'wp2static_deploy', ProcessedSite::getPath(), $deployer );
do_action( 'wp2static_post_deploy_trigger', $deployer );
}
WsLog::l( 'Starting post-deployment actions' );
do_action( 'wp2static_post_deploy_trigger', $deployer );
}

/**
Expand Down

0 comments on commit 236c737

Please sign in to comment.