PHP code example of timberhub / laravel-deployments
1. Go to this page and download the library: Download timberhub/laravel-deployments 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/ */
timberhub / laravel-deployments example snippets
shell
./vendor/bin/ci-actions branch:deploy:forge \
--token=[FORGE_API_TOKEN] \
--server=[FORGE_SERVER_ID] \
--branch=[BRANCH_NAME] \
--repository=[REPOSITORY_URL] \
--branch=[BRANCH_NAME] \
--domain=[DOMAIN_NAME] \
--php-version=[PHP_VERSION] \
--db-name=[DB_NAME] \
--db-user=[DB_USER] \
--db-password=[DB_PASSWORD]