Skip to content

Commit b087a48

Browse files
feat: додати CI для ручного запуску з параметрами оточення та причини
1 parent d7d463e commit b087a48

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/manual_ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Manual Architect CI
2+
3+
on:
4+
# Це ключовий тригер для ручного запуску
5+
workflow_dispatch:
6+
inputs:
7+
environment:
8+
description: 'Оточення для розгортання'
9+
required: true
10+
default: 'staging'
11+
type: choice
12+
options:
13+
- staging
14+
- production
15+
reason:
16+
description: 'Причина ручного запуску (для логів)'
17+
required: false
18+
type: string
19+
20+
jobs:
21+
build:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Checkout code
25+
uses: actions/checkout@v4
26+
27+
- name: Run logic
28+
run: |
29+
echo "Запуск у середовищі: ${{ github.event.inputs.environment }}"
30+
echo "Причина: ${{ github.event.inputs.reason }}"

0 commit comments

Comments
 (0)