Skip to content

Commit

Permalink
Revert "Revert "Create templates fix (#2)" (#3)" (#4)
Browse files Browse the repository at this point in the history
This reverts commit b053605.
  • Loading branch information
karnelll authored Oct 4, 2024
1 parent b053605 commit dffca8c
Show file tree
Hide file tree
Showing 6 changed files with 115 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github
Submodule .github deleted from 1e8a03
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Bug report
about: 버그 이슈 템플릿
title: ''
labels: ''
assignees: ''

---

## 어떤 버그인가요?

> 어떤 버그인지 간결하게 설명해주세요
## 어떤 상황에서 발생한 버그인가요?

> (가능하면) Given-When-Then 형식으로 서술해주세요
## 예상 결과

> 예상했던 정상적인 결과가 어떤 것이었는지 설명해주세요
## 참고할만한 자료(선택)
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: 기능 추가 이슈 템플릿
title: ''
labels: ''
assignees: ''

---

## 어떤 기능인가요?

>
## 작업 상세 내용

- [ ] TODO
- [ ] TODO
- [ ] TODO

## 참고할만한 자료(선택)
14 changes: 14 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## #️⃣연관 이슈

> ex) #이슈번호
## 📝작업 내용

>
## 📸스크린샷

## 추가 사항
>
## 💬리뷰 요구사항(선택)
30 changes: 30 additions & 0 deletions .github/workflows/auto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: git push into another repo to deploy to vercel

on:
push:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
container: pandoc/latex
steps:
- uses: actions/checkout@v2
- name: Install mustache (to update the date)
run: apk add ruby && gem install mustache
- name: creates output
run: sh ./build.sh
- name: Pushes to another repository
id: push_directory
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.AUTO }}
with:
source-directory: 'output'
destination-github-username: yeyounging
destination-repository-name: kusitms-sc-fe
user-email: ${{ secrets.OFFICIAL_ACCOUNT_EMAIL }}
commit-message: ${{ github.event.commits[0].message }}
target-branch: main
- name: Test get variable exported by push-to-another-repository
run: echo $DESTINATION_CLONED_DIRECTORY
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on:
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: 레포지토리 체크아웃 중..
uses: actions/checkout@v2

- name: node 설치중..
uses: actions/setup-node@v2
with:
node-version: '18.18.2'

- name: pnpm 설치중..
run: npm install -g pnpm

- name: 종속성 설치중...
run: pnpm install
working-directory: ./fe

- name: 빌드 중..
run: pnpm build
working-directory: ./fe

0 comments on commit dffca8c

Please sign in to comment.