2
Some checks failed
Deploy Production / Deploy to Staging (push) Has been skipped
Go Linter / Build golang services (api_gateway) (push) Has been cancelled
Go Linter / Push Docker Images (api_gateway) (push) Has been cancelled
Go Linter / Run golangci-lint (api_gateway) (push) Has been cancelled

This commit is contained in:
Alex Shevchuk
2025-08-18 17:14:27 +03:00
parent d84487d238
commit da26fabafa
7 changed files with 298 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
name: Deploy Production
on:
push:
branches: [master, release]
pull_request:
branches: [master, release]
jobs:
deploy_to_staging:
name: Deploy to Staging
runs-on: ubuntu-22.04
if: ${{ gitea.ref == 'refs/heads/release' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Manual Approval Step
run: echo "Ручное подтверждение получено. Запуск деплоя..."
- name: Deployment Script (Заглушка)
run: |
echo "Здесь будет скрипт деплоя на staging"
# TODO: Реальный скрипт деплоя
echo "Симуляция деплоя..."