actions-marketplace-validations/Laravel Deployment Action
A currently opinionated github action for deploying laravel apps
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| DEPLOY_KEY | Deploy Key | yes | — |
| SERVER_IP | SERVER_IP | yes | — |
| SERVER_PORT | Custom port for ssh and rsync | no | 22 |
| SSH_USER | SSH user | yes | — |
| APP_NAME | name of the app used on the server | yes | — |
| APP_PATH | Path to the app | no | — |
| COMPOSER_COMMAND | composer command - defaults to "composer install --no-progress --optimize-autoloader" | no | composer install --no-progress --optimize-autoloader |
| BUILD_COMMAND | npm build command - defaults to "npm run dev" | yes | npm run dev |
| ARTISAN_COMMANDS | Commands to run after build on remote server from the APP_PATH directory | no | — |
| ARTISAN_FAIL_ON_ERROR | Whether to fail the action if artisan commands fail | no | false |
| PHP_VERSION | Which version of PHP to use | no | 8.0 |
| NODE_VERSION | Which version of Node to use | no | 16.14 |
| NPM_INSTALL_COMMAND | npm install command - defaults to "npm install" | no | npm ci |
Outputs
no outputs