CI/CD with GitHub Actions
12 reviewsAutomated deployment with GitHub Actions: staging and production branches, pre-flight checks, post-deploy steps and a rollback path. From 3,000 UAH.
Service
Automated deployment with GitHub Actions
Deploying a site by hand over FTP is a source of errors: a file forgotten, the wrong version uploaded, a configuration overwritten. Automation removes the human factor and makes rollback predictable.
What I set up
- automatic deployment when a branch is updated;
- separate branches for staging and production;
- pre-flight checks: syntax, and tests where they exist;
- exclusions for what must never reach the server: configuration, cache, user uploads;
- post-deploy steps: cache clearing, migrations, service restarts;
- result notifications;
- a mechanism for rolling back to the previous version.
The hard part is not the automation
Technically, setting up a pipeline is straightforward. The harder part is separating code from data. In a typical site, one directory holds both the files that should be deployed and the things users create: uploaded images, cache, logs. Without that separation, automated deployment wipes user data.
So the work usually starts with tidying the structure rather than with writing the pipeline.
Who this makes sense for
Projects where changes ship regularly and a staging environment exists. If the site is updated twice a year, automation will not pay for itself — a proper backup before changes is enough.
Before and after
- Manual FTP deploys: a forgotten file, the wrong version uploaded, a configuration overwritten
- Code and user data share one directory — an automated deploy could wipe the uploads
- There is no quick, predictable way to roll back to the previous version
- Deployment runs automatically when a branch is updated — separately for staging and production
- Syntax and existing tests checked first; configuration, cache and uploads excluded from deploys
- Cache clearing and migrations after deploy, result notifications and a rollback mechanism
Reviews (12)
5.0Замовляв «CI/CD через GitHub Actions» — хотів швидкий відкат релізу. Підхід професійний, усе по суті. Однозначно вартує своїх грошей.
Робили нам «CI/CD через GitHub Actions» — деплоїв вручну через FTP і робив помилки. Перед стартом детально пояснили що і навіщо. Підхід професійний, усе по суті. Буду рекомендувати колегам.
Робили нам «CI/CD через GitHub Actions» — потрібні були тести перед релізом. Після здачі ще тиждень відповідали на дрібні питання. Усе зробили в обумовлені строки, без зайвих питань.
Залишаю відгук про «CI/CD через GitHub Actions». Хотів автоматичний деплой по push. Перед стартом детально пояснили що і навіщо. Комунікація була чіткою, відповідали швидко.
Брала «CI/CD через GitHub Actions» для свого проєкту. Потрібні були тести перед релізом. Роботу здали з документацією і поясненнями.