PHP code example of algethamy / laravel-ack-deploy

1. Go to this page and download the library: Download algethamy/laravel-ack-deploy library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

algethamy / laravel-ack-deploy example snippets

bash
php artisan ack:init
bash
# Build only
php artisan ack:build

# Build and push to registry
php artisan ack:build --push
bash
# Deploy with existing image
php artisan ack:deploy

# Build, push, and deploy in one command
php artisan ack:deploy --build --wait
bash
php artisan ack:init --app-name=myapp --registry=registry.me-central-1.aliyuncs.com
bash
php artisan ack:build --tag=v1.0.0 --push
bash
php artisan ack:deploy --namespace=production --build --wait