This is a simple breakdown of how I deploy Bedrock+Sage using RunCloud and Envoyer.
cd {{ release }}/web/app/themes/sage
composer install --no-ansi --no-dev --no-interaction --no-progress --optimize-autoloader --no-scripts --classmap-authoritative
cd {{ release }}
wp core is-installed --skip-plugins --skip-themes
wp core update-db
cd {{ release }}/web/app/themes/sage
cat public/entrypoints.json
cat public/palette.json
cd {{ release }}
wp acorn optimize
wp acorn acf:cache
cd {{ release }}
wp runcloud-hub purgeall
wp runcloud-hub update-dropin
- From:
web/app/uploads
- To:
shared/uploads
- log1x/envoyer-deploy-commands (Works with Laravel & Acorn)