Compare commits
8 Commits
b2dff78489
...
alex-patch
| Author | SHA1 | Date | |
|---|---|---|---|
| cfca222d33 | |||
| 35bbe33bf3 | |||
| ff0f99646a | |||
| 53a026c41d | |||
| dbc94c4051 | |||
| 6b6ed7b9ed | |||
| be634d9aab | |||
| 3744fa2262 |
21
.gitea/workflows/dispatch_prod.yaml
Normal file
21
.gitea/workflows/dispatch_prod.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Deploy Pipeline with Manual Trigger
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
message:
|
||||
description: 'Custom message'
|
||||
required: false
|
||||
default: 'Trigger - succesed'
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
name: Deployment Task
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Show Message
|
||||
run: |
|
||||
echo "Получилось!"
|
||||
19
.gitea/workflows/merge_prod.yaml
Normal file
19
.gitea/workflows/merge_prod.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
name: Simple Deploy Pipeline
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
print-message:
|
||||
name: Print Welcome Message
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/main'
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Print message
|
||||
run: echo "Красота во всем"
|
||||
9
.gitea/workflows/test_branches.yml
Normal file
9
.gitea/workflows/test_branches.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "Раннер работает На другой ветке!"
|
||||
7
.gitea/workflows/testrun.yml
Normal file
7
.gitea/workflows/testrun.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
name: Test Runner
|
||||
on: [workflow_dispatch]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "Раннер работает!"
|
||||
Reference in New Issue
Block a user