Skip to content
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
SourovCodes merged 1 commit into
mainfrom
feature/deploy-to-production
Sep 19, 2026
Merged

SourovCodes merged 1 commit into
mainfrom
feature/deploy-to-production

Conversation

@SourovCodes

Copy link
Copy Markdown
Member

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 tests workflow passes on main, 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 production environment (DEPLOY_HOSTNAME=accounts.3ag.app, DEPLOY_PATH=/var/www/accounts.3ag.app, DEPLOY_USER=sourov, plus DEPLOY_SSH_PORT and SSH_PRIVATE_KEY), and the server itself — deploy tree, MySQL database, shared .env with the shared SMTP credentials, nginx vhost, Let's Encrypt certificate, Supervisor worker and scheduler cron.

🤖 Generated with Claude Code

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>
@SourovCodes
SourovCodes merged commit c27df49 into main Sep 19, 2026
1 check passed
@SourovCodes
SourovCodes deleted the feature/deploy-to-production branch September 19, 2026 10:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant