Обновить .gitea/workflows/merge_prod.yml #6
@@ -1,19 +0,0 @@
|
|||||||
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 "Красота во всем"
|
|
||||||
13
.gitea/workflows/merge_prod.yml
Normal file
13
.gitea/workflows/merge_prod.yml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
name: Merge Success Notification
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [closed]
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
notify-on-merge:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Print merge success
|
||||||
|
run: echo "Удачное слияние в ветку main"
|
||||||
Reference in New Issue
Block a user