Laravel Harbor: On-Demand Preview Environments With GitHub Actions
Laravel Harbor is a CLI tool that creates on-demand preview environments for your app on Laravel Forge via GitHub actions. Automate deployments & tear down servers when pull requests are merged.
Laravel Harbor is a CLI tool that allows you to quickly create on-demand preview environments for your app on Laravel Forge. Using this CLI, you can use GitHub actions to automatically deploy your branches when pull requests are created and tear down the deployment from your server when the pull request is merged. Here's an example of a provisioning workflow using GitHub actions (taken from the documentation): name: preview-provisionon: pull_request: types: [opened, edited, reopened, ready_for_review]jobs: harbor-provision: if: | github.event.pull_request.draft == false && co...