This repository was archived by the owner on Sep 20, 2026. It is now read-only.
Deploy to accounts.3ag.app with Deployer - #1
Merged
Merged
Conversation
Mirrors the SalesReport and ProductSync setup: assets are built on the runner and uploaded, releases are atomic, and queue workers restart gracefully. Deploys run only after the tests workflow passes on main, so this adds that workflow too. PHP 8.4 in CI matches the php-fpm the server runs. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mirrors the SalesReport and ProductSync setup: assets are built on the GitHub runner and uploaded, releases are atomic, and the queue worker restarts gracefully. Deploys run only after the
testsworkflow passes onmain, pinned to the tested revision — this repo had no CI yet, so that workflow is added here too.CI runs PHP 8.4 to match the php-fpm the server actually serves this app with.
Already configured: the
productionenvironment (DEPLOY_HOSTNAME=accounts.3ag.app,DEPLOY_PATH=/var/www/accounts.3ag.app,DEPLOY_USER=sourov, plusDEPLOY_SSH_PORTandSSH_PRIVATE_KEY), and the server itself — deploy tree, MySQL database, shared.envwith the shared SMTP credentials, nginx vhost, Let's Encrypt certificate, Supervisor worker and scheduler cron.🤖 Generated with Claude Code