algos crm.
CRM Documentation
The same product docs available in the dashboard—guides for setup, architecture, modules, and day-to-day use.
Operations · Cicd
CI/CD
Status: Recommended — this repository does not currently ship a project-specific GitHub Actions workflow under
.github/(beyond whatever may exist upstream). The following is the recommended pipeline to add.
Goals
- Run automated tests on every pull request
- Enforce code style (Pint)
- Block merge on failure
- Optional: deploy to staging/production on
main
Recommended GitHub Actions (PR)
name: CI
on:
pull_request:
push:
branches: [main]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
extensions: mbstring, pdo_sqlite, gd
coverage: none
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: npm
- run: composer install --no-interaction --prefer-dist
- run: cp .env.example .env
- run: php artisan key:generate
- run: npm ci
- run: npm run build
- run: vendor/bin/pint --test
- run: php artisan test
Recommended deploy job (outline)
On push to main (or tags):
- SSH / container deploy
composer install --no-devphp artisan migrate --forcephp artisan permissions:syncphp artisan config:cache && route:cache && view:cache- Restart PHP-FPM +
queue:restart
See Deployment.
Local pre-push checklist
vendor/bin/pint
php artisan test