Skip to content

Commit

Permalink
Merge branch 'main' into feat/#499
Browse files Browse the repository at this point in the history
  • Loading branch information
ukkodeveloper authored Oct 19, 2023
2 parents 63a8bcc + be75d4f commit c3d8dbb
Show file tree
Hide file tree
Showing 5 changed files with 358 additions and 242 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/nginx-server-cd.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: NginX Server Deploy (CD)
name: Blue-Green Backend Production Deploy (CD)

on:
workflow_dispatch:

jobs:
build:
name: Backend Develop Deploy
deploy:
name: Deploy Backend Production Server
runs-on: shook-nginx-runner

steps:
Expand All @@ -31,3 +31,14 @@ jobs:
- name: Backend Deploy
shell: bash
run: bash /home/ubuntu/blue-green.sh

switch-server:
name: Switch Backend Production Server
runs-on: shook-prod
needs: deploy

steps:
- name: Run switch_server.sh
shell: bash
run: bash /home/ubuntu/blue-green/server_switch.sh

Loading

0 comments on commit c3d8dbb

Please sign in to comment.