DAPE.work

GitHub Actions: Laravel CI Pipeline

Build, lint, test, and deploy Laravel apps with GitHub Actions.

Expected time saved: 5 hours/week

Complexity: Intermediate

Steps:

  1. 1 - Install PHP dependencies
  2. 2 - Run tests
  3. 3 - Cache vendor
  4. 4 - Deploy to server

Tools:
GitHub Actions
Laravel

Example

.github/workflows/laravel.yml

Tags

github laravel ci-cd