bakerkretzmar/Laravel Deploy Preview

Deploy PR preview sites for Laravel apps.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Dec 15, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: bakerkretzmar/laravel-deploy-preview@f77ef3d9df78fc539f6f108254cd7baf99d08ecf # v2.7.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
forge-tokenLaravel Forge API token.yes
github-tokenGitHub token to create an authenticated Octokit client.no${{ github.token }}
serversList of Forge servers to use for deploy previews. Each line must contain a domain name and a Forge server ID separated by a space. Note: currently only supports a single server.yes
after-deployShell script to append and run after the default Forge deploy script. E.g. `npm ci && npm run build`.no
environmentEnvironment variables to add or update on the preview site.no
aliasesAlias domains and subdomains to add to the preview site. Enter multiple aliases on separate lines.no
isolatedEnable Forge site isolation.nofalse
usernameSet a custom site isolation username.no
php-versionPHP version to use for the preview site, e.g. `8.3`.no
existing-certificateExisting SSL certificate to use for the preview site.no
existing-certificate-keyExisting SSL certificate private key to use for the preview site.no
clone-certificateForge SSL certificate ID to clone to the preview site.no
no-certificateSkip the creation of a certificate and serve the preview site over HTTP instead of HTTPS.nofalse
deployment-webhooksURLs to send webhooks to after Forge deployments. Enter multiple URLs on separate lines.no
deployment-failure-emailsEmail addresses to notify if the Forge deployment fails. Enter multiple emails on separate lines.no
namedescription
site-urlThe URL of the deployed preview site.
site-idThe Forge ID of the deployed preview site.