-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from cocktail-Ohzu/dev
🚀 [feature] - 기본 ui 구현 및 배포 환경 설정
- Loading branch information
Showing
78 changed files
with
1,357 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
name: "\U0001F680 Feature Template" | ||
about: 기능 추가에 대한 작업 사항을 적습니다 | ||
title: "\U0001F680[Feature] - " | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
# 🚀 Feature - <!--{ 작업 내용 }--> | ||
<!-- 위 작업내용 주석에 어떤 기능인지 적어주세요--> | ||
|
||
|
||
### 📝 Description | ||
|
||
--- | ||
<!-- 아래에 설명을 적어주세요 --> | ||
설명을 작성해주세요 | ||
|
||
|
||
### ✅ To Do List | ||
|
||
--- | ||
<!-- 아래에 어떤 작업을 해야 하는지 적어주세요 --> | ||
- [ ] 작업1 | ||
- [ ] 작업2 | ||
|
||
### 📚 Etc | ||
|
||
--- | ||
<!-- 작업 중 특이사항이 생기면 적어주세요 --> | ||
특이사항 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
name: "\U0001F528 Refactor Template" | ||
about: 리팩토링 관련 작업 사항을 적습니다 | ||
title: "\U0001F528 Refactor - " | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
# 🔨 Refactor - <!--{ 작업 내용 }--> | ||
<!-- 위 작업내용 주석에 어떤 오류인지 적어주세요--> | ||
|
||
### 📝 Description | ||
|
||
--- | ||
<!-- 어떤 리팩토링 작업을 했는지 적어주세요 --> | ||
리팩토링 작업 사항 | ||
|
||
### ✅ To Do List | ||
|
||
--- | ||
<!-- 아래에 수정 사항을 적어주세요 PR 날릴 때 모두 체크되어야함 --> | ||
- [ ] 수정1 | ||
- [ ] 수정2 | ||
|
||
### 📚 Etc | ||
|
||
--- | ||
<!-- 작업 중 특이사항이 생기면 적어주세요 --> | ||
특이사항 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
name: "❌Bug Report Template" | ||
about: 버그가 발생한 상황과 수정 내역을 적습니다 | ||
title: "\U0001F41E Bug - " | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
# 🐞 Bug - <!--{ 작업 내용 }--> | ||
<!-- 위 작업내용 주석에 어떤 오류인지 적어주세요--> | ||
|
||
|
||
### 🕵️♀️ Condition | ||
|
||
--- | ||
<!-- 아래에 버그가 발생한 상황을 적어주세요 --> | ||
에러 발생 조건 및 대상 | ||
|
||
### 📝 Description | ||
|
||
--- | ||
<!-- 아래에 버그가 발생한 상황을 적어주세요 --> | ||
에러 발생 상황 설명 | ||
|
||
### ✅ To Do List | ||
|
||
--- | ||
<!-- 아래에 수정 사항을 적어주세요 PR 날릴 때 모두 체크되어야함 --> | ||
- [ ] 수정1 | ||
- [ ] 수정2 | ||
|
||
### 📚 Etc | ||
|
||
--- | ||
<!-- 작업 중 특이사항이 생기면 적어주세요 --> | ||
특이사항 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# 💡 PR Summary - <!--{ 작업 내용 }--> | ||
<!-- 어떤 작업에 대한 PR 인지 위 주석에 적어주세요 --> | ||
|
||
### 📝 Description | ||
|
||
--- | ||
<!-- 어떤 작업을 했는지 간단하게 적어주세요 --> | ||
작업 사항 | ||
|
||
### 🌲 Working Branch | ||
|
||
--- | ||
<!-- 예시) feature/user --> | ||
작업 브랜치 | ||
|
||
### 📖 Related Issues | ||
|
||
--- | ||
<!-- 예시) #1 --> | ||
이슈 번호 | ||
|
||
|
||
### 📚 Etc | ||
|
||
--- | ||
<!-- 작업 중 특이사항이 생기면 적어주세요 --> | ||
특이사항 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Push Image to DockerHub | ||
on: | ||
push: | ||
branches: [main] | ||
# Publish semver tags as releases. | ||
tags: ['v*.*.*'] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
# 도커 이미지에 env 파일 추가 | ||
- name: Create .env file | ||
run: | | ||
touch .env | ||
echo ${{ secrets.ENV_VAR }}\ >> .env | ||
# 도커 메타데이터 가져오기 | ||
- name: Docker meta | ||
id: docker_meta | ||
uses: crazy-max/ghaction-docker-meta@v1 | ||
with: | ||
images: ${{ secrets.DOCKER_REPOSITORY }}/hififront | ||
tag-semver: | | ||
{{version}} | ||
{{major}}.{{minor}} | ||
# 도커 빌드 관련 셋업 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
# 도커 허브 로그인 | ||
- name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
# 도커 이미지 빌드 & 푸시 | ||
- name: Build and push | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
file: ./Dockerfile | ||
platforms: linux/amd64 | ||
push: true | ||
tags: ${{ steps.docker_meta.outputs.tags }} | ||
labels: ${{ steps.docker_meta.outputs.labels }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,6 @@ | |
"semi": true, | ||
"useTabs": false, | ||
"tabWidth": 2, | ||
"printWidth": 80 | ||
"printWidth": 80, | ||
"endOfLine": "auto" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
declare module '*.svg' { | ||
const content: any; | ||
export default content; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
server { | ||
listen 3000; | ||
server_name ohzu.site; | ||
root /usr/share/nginx/html; | ||
index index.html; | ||
|
||
location / { | ||
try_files $uri /index.html; | ||
} | ||
|
||
error_log /var/log/nginx/api_error.log; | ||
access_log /var/log/nginx/api_access.log; | ||
} |
Oops, something went wrong.