erseco/PHP Wasm PR Preview
Build and publish pull request previews for generic PHP repositories using php-cgi-wasm and GitHub Pages.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| php-root | Path to the PHP project root to package. | no | . |
| document-root | Path inside php-root that should act as the HTTP document root. | no | . |
| entrypoint | PHP entrypoint inside the document root. | no | index.php |
| prepare-command | Optional shell command run in the consumer repository before packaging. | no | "" |
| preview-branch | Branch used by GitHub Pages previews. | no | gh-pages |
| umbrella-dir | Directory on the Pages branch where previews are stored. | no | pr-preview |
| pages-base-url | Optional GitHub Pages base URL override. | no | "" |
| pages-base-path | Pages deployment subdirectory, if the site is not served from repository root. | no | . |
| comment | Whether to leave a sticky preview comment on the pull request. | no | true |
| token | Token with permission to push to the Pages deployment branch. | no | "" |
| action | Override preview behaviour. Supports auto, deploy, remove, none. | no | auto |
Outputs
| name | description |
|---|---|
| preview-url | Published preview URL. |
| preview-url-path | Path to the preview relative to the Pages site root. |
| deployment-action | Resolved publish action. |
| dist-dir | Temporary directory containing the generated static preview bundle. |