Compare commits
15 Commits
alex-patch
...
90a88f3d36
| Author | SHA1 | Date | |
|---|---|---|---|
| 90a88f3d36 | |||
| 68f1fbb529 | |||
| c1e848b448 | |||
| 4396aefb84 | |||
| 3b299f02b2 | |||
| 8bc6003be8 | |||
| 8b42312aa7 | |||
| 0868f9e638 | |||
| 283d992ed9 | |||
| aaf3bd6aa9 | |||
| d4bd111233 | |||
| 9752597a68 | |||
| e8f5874712 | |||
| 5d3e06c0ac | |||
| bee27b6acb |
@@ -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"
|
||||
9
.gitea/workflows/old_prod_deploy_one_actor.yml
Normal file
9
.gitea/workflows/old_prod_deploy_one_actor.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
main-job:
|
||||
if: github.actor == 'alex'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "Админ встречен! Если что"
|
||||
12
.gitea/workflows/test_realese_secrets.yml
Normal file
12
.gitea/workflows/test_realese_secrets.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
user-check:
|
||||
description: "Admin verification"
|
||||
|
||||
jobs:
|
||||
main-job:
|
||||
if: contains(format(',{0},', secrets.ADMIN_USERS), format(',{0},', github.actor))
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "Админ встречен!"
|
||||
Reference in New Issue
Block a user