Skip to content

Commit

Permalink
Release/api v2.0.1 (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
RokwonK authored May 14, 2024
1 parent 242f950 commit 796cb5e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 44 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/deploy-dev-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: API - Deploy Development Environment

on:
create:
push:
branches:
- release/Api-v*
Expand All @@ -12,22 +11,9 @@ env:
AWS_REGION: ap-northeast-2

jobs:
check-branch:
# Branch 이름 가져오기
if: ${{ github.event_name != 'create' || github.ref_type != 'tag' }}
dev-api-server-deploy:
if: false
runs-on: ubuntu-latest
outputs:
current_branch: ${{ steps.branch-name.outputs.current_branch }}
steps:
- name: Get branch name
id: branch-name
uses: tj-actions/branch-names@v8

deploy-development-environment:
needs: check-branch
# release, hotfix 일때만 실행
if: ${{ startsWith(needs.check-branch.outputs.current_branch, 'release/Api-v') || startsWith(needs.check-branch.outputs.current_branch, 'hotfix/Api-v') }}
runs-on: 'ubuntu-latest'
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
3. [CI/CD & 자동화](#cicd--자동화)
4. [History](#history)

<br />

## 기술스택
*서버리스 아키텍쳐(AWS API Gateway + Lambda) -> Spring Boot 마이그레이션*
Spring Boot, Kotlin, JPA, MySQL, LocalStack, AWS, Terraform, Github Actions

<br />

## 인프라
AWS & Terraform 기반 배포. 비용 효율적으로 구성
Expand All @@ -20,6 +22,8 @@ AWS & Terraform 기반 배포. 비용 효율적으로 구성

![adevspoon-v1](https://github.com/kids-ground/adevspoon-backend/assets/52196792/c3c5eef5-f6b9-4352-bcb3-6454397fc193)

<br />

## CI/CD & 자동화
브랜치 & PR 기반 자동화. 무중단 배포 파이프라인 구축

Expand All @@ -31,6 +35,7 @@ AWS & Terraform 기반 배포. 비용 효율적으로 구성
4. `tagging-and-release` : release & hotfix -> develop PR 머지 시 Tag/Release 생성
5. `deploy-prod` : Tag 생성 시 prod 환경 자동배포

<br />

## History
**Product**
Expand Down
28 changes: 0 additions & 28 deletions adevspoon-domain/src/main/resources/application-domain-test.yml

This file was deleted.

0 comments on commit 796cb5e

Please sign in to comment.