Ci cd merge request #2

Merged
max merged 12 commits from ci-cd into main 2026-08-05 08:57:47 +04:00
Showing only changes of commit a028b875fb - Show all commits
+6 -2
View File
@@ -1,8 +1,9 @@
name: Build and Push Docker Image
on:
push:
branches: [ "ci-cd" ]
pull_request:
types: [closed]
branches: [ main ]
env:
REGISTRY: git.vmn.su
@@ -11,6 +12,7 @@ env:
jobs:
build-and-push-backend:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout code
@@ -32,6 +34,7 @@ jobs:
build-and-push-frontend:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout code
@@ -53,6 +56,7 @@ jobs:
notify-deployment-server:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Trigger the webhook on the deployment server to start pulling the images