
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
25 lines
721 B
YAML
25 lines
721 B
YAML
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 "Симуляция деплоя..." |