Skip to content

Commit

Permalink
Merge pull request #1 from taejun0/main
Browse files Browse the repository at this point in the history
git template 추가
  • Loading branch information
taejun0 authored Oct 30, 2024
2 parents a428a28 + ba7d3e6 commit b0a74ec
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: ISSUE
about: 프론트엔드 이슈 템플릿
title: "[Tag] Issue Message "
labels: ""
assignees: ""
---

## ✔️ Issue

<!-- 이슈에 대해 간략하게 설명해주세요 -->

## 📝 To-do

<!-- 진행할 작업에 대해 적어주세요 -->

- [ ] 할 일

## 🛠 Working time

<!-- 예상 작업시간을 적어주세요 -->
27 changes: 27 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
## 🔍 What is the PR?

<!-- PR 내용을 리스트로 작성-->

## 📸 Screenshot

<!-- 작업한 화면의 스크린 샷 -->

## 📍 PR Point

<!-- 나 이 부분 찢었다~! -->

## 📢 Notices

<!--공용으로 사용하는(Extension) 부분에 대한 설명-->

## ✅ Check List

- [ ] Merge 하는 브랜치가 올바른가?
- [ ] PR과 관련없는 변경사항이 없는가?
- [ ] 내 코드에 대한 자기 검토가 되었는가?

## 💭 Related Issues

<!-- 작업한 이슈번호를 # 뒤에 붙여주세요. -->

- ex) #3
51 changes: 51 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: CI/CD for React App

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Install dependencies
run: npm install

- name: Build the project
run: npm run build

- name: Verify build output (Debug)
run: |
echo "Build output:"
ls -R ./dist
- name: Install Vercel CLI
run: npm install -g vercel@latest

- name: Verify VERCEL_TOKEN
run: |
if [ -z "${{ secrets.VERCEL_TOKEN }}" ]; then
echo "Error: VERCEL_TOKEN is not set!"
exit 1
else
echo "VERCEL_TOKEN is properly set."
fi
- name: Deploy to Vercel
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
run: |
vercel --prod --yes --token $VERCEL_TOKEN --cwd ./dist

0 comments on commit b0a74ec

Please sign in to comment.