txAdmin Deployer
The Deployer feature allows you to deploy resources directly from Git repositories.
Setup
1. Configure Git Remote
- Navigate to Deployer section
- Add Git repository URL
- Configure authentication (SSH key or token)
- Set branch to deploy
2. Environment Variables
Configure environment-specific variables:
- Development
- Staging
- Production
3. Deploy Hooks
Set up pre/post-deploy hooks:
- Pre-deploy: Run tests, validate configs
- Post-deploy: Restart resources, clear cache
Deployment Process
- Push changes to Git repository
- txAdmin detects changes
- Pulls latest code
- Runs pre-deploy hooks
- Deploys changes
- Runs post-deploy hooks
- Restarts affected resources
Rollback
If deployment fails:
- Go to Deployer history
- Select previous successful deployment
- Click “Rollback”
- Confirm rollback
Best Practices
- Use separate branches for environments
- Test in staging before production
- Keep deployment history
- Monitor deployment logs
Last updated on