From 6f22a644c7f4008d403b0aba02745e6cbbf851ae Mon Sep 17 00:00:00 2001 From: cks-wls Date: Thu, 30 Oct 2025 10:39:31 +0900 Subject: [PATCH 01/11] =?UTF-8?q?docs=20:=20PR=ED=85=9C=ED=94=8C=EB=A6=BF?= =?UTF-8?q?=20=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/PULL_REQUEST_TEMPLATE.MD | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE.MD diff --git a/.github/PULL_REQUEST_TEMPLATE.MD b/.github/PULL_REQUEST_TEMPLATE.MD new file mode 100644 index 0000000..6730b1e --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.MD @@ -0,0 +1,36 @@ +## #️⃣ 관련 이슈 + +> JIRA 이슈 번호 + +- + +## 📝 작업 내용 + +> 이번 PR에서 작업한 내용 및 주요 변경사항 (이미지 첨부 가능) + +- 구현 기능 요약 + +- 주요 변경사항 + +## 🔍 테스트 항목 + +> 완료된 테스트 및 추가 테스트가 필요한 항목 + +- [ ] 테스트 1 +- [ ] 테스트 2 + +## ✅ 체크리스트 + +> PR 작성 시 확인해야 할 사항 + +- [ ] 기능이 정상적으로 동작하는가? +- [ ] 코드 컨벤션을 준수하였는가? +- [ ] 불필요한 코드 (console.log, 미사용 변수 등)가 없는가? +- [ ] 가독성을 고려하여 적절한 주석을 추가하였는가? +- [ ] 브랜치를 main이 아닌 dev로 설정하였는가? + +## 💬 기타 + +- 어려웠던 부분 + +- 고려해야할 부분 From 56efeb206b1ab35ecbd894eacf1ec0ef5beca827 Mon Sep 17 00:00:00 2001 From: ChanJin Date: Thu, 30 Oct 2025 10:49:13 +0900 Subject: [PATCH 02/11] =?UTF-8?q?docs=20:=20PR=20=ED=85=9C=ED=94=8C?= =?UTF-8?q?=EB=A6=BF=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/{PULL_REQUEST_TEMPLATE.MD => PULL_REQUEST_TEMPLATE.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{PULL_REQUEST_TEMPLATE.MD => PULL_REQUEST_TEMPLATE.md} (100%) diff --git a/.github/PULL_REQUEST_TEMPLATE.MD b/.github/PULL_REQUEST_TEMPLATE.md similarity index 100% rename from .github/PULL_REQUEST_TEMPLATE.MD rename to .github/PULL_REQUEST_TEMPLATE.md From 5c3be47ddbd9d45c94bce5e300ca75a0f11acaea Mon Sep 17 00:00:00 2001 From: cks-wls Date: Thu, 30 Oct 2025 10:51:03 +0900 Subject: [PATCH 03/11] =?UTF-8?q?remove=20:=20=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/PULL_REQUEST_TEMPLATE.MD | 36 -------------------------------- 1 file changed, 36 deletions(-) delete mode 100644 .github/PULL_REQUEST_TEMPLATE.MD diff --git a/.github/PULL_REQUEST_TEMPLATE.MD b/.github/PULL_REQUEST_TEMPLATE.MD deleted file mode 100644 index 6730b1e..0000000 --- a/.github/PULL_REQUEST_TEMPLATE.MD +++ /dev/null @@ -1,36 +0,0 @@ -## #️⃣ 관련 이슈 - -> JIRA 이슈 번호 - -- - -## 📝 작업 내용 - -> 이번 PR에서 작업한 내용 및 주요 변경사항 (이미지 첨부 가능) - -- 구현 기능 요약 - -- 주요 변경사항 - -## 🔍 테스트 항목 - -> 완료된 테스트 및 추가 테스트가 필요한 항목 - -- [ ] 테스트 1 -- [ ] 테스트 2 - -## ✅ 체크리스트 - -> PR 작성 시 확인해야 할 사항 - -- [ ] 기능이 정상적으로 동작하는가? -- [ ] 코드 컨벤션을 준수하였는가? -- [ ] 불필요한 코드 (console.log, 미사용 변수 등)가 없는가? -- [ ] 가독성을 고려하여 적절한 주석을 추가하였는가? -- [ ] 브랜치를 main이 아닌 dev로 설정하였는가? - -## 💬 기타 - -- 어려웠던 부분 - -- 고려해야할 부분 From 1bebf90f6a56bc596e39ff40d10b032ff3761ce1 Mon Sep 17 00:00:00 2001 From: cks-wls Date: Thu, 30 Oct 2025 13:56:55 +0900 Subject: [PATCH 04/11] =?UTF-8?q?build=20:=20CI/CD=20=EB=B9=8C=EB=94=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 34 ++++++++++++++++++++++++++++++++++ build.sh | 5 +++++ 2 files changed, 39 insertions(+) create mode 100644 .github/workflows/deploy.yml create mode 100644 build.sh diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..c903df5 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,34 @@ +name: Deploy + +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_ACTIONS }} + with: + source-directory: "output" + destination-github-username: cks-wls + destination-repository-name: Frontend-G2G + user-email: ${{ secrets.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 diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..950c1ef --- /dev/null +++ b/build.sh @@ -0,0 +1,5 @@ +#!/bin/sh +cd ../ +mkdir output +cp -R ./[team-repo-name]/* ./output +cp -R ./output ./[team-repo-name]/ From bb84bd112dcfe8a4b2db47aaa8e23d855e581109 Mon Sep 17 00:00:00 2001 From: cks-wls Date: Thu, 30 Oct 2025 14:04:28 +0900 Subject: [PATCH 05/11] =?UTF-8?q?=20fix=20:=20CI/CD=20=EB=B9=8C=EB=93=9C?= =?UTF-8?q?=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 950c1ef..b47c64c 100644 --- a/build.sh +++ b/build.sh @@ -1,5 +1,5 @@ #!/bin/sh cd ../ mkdir output -cp -R ./[team-repo-name]/* ./output -cp -R ./output ./[team-repo-name]/ +cp -R ./Front-G2G/* ./output +cp -R ./output ./Front-G2G/ From c280ab3a039409a53e524a6b8c0fcfb4f4066e8d Mon Sep 17 00:00:00 2001 From: cks-wls Date: Thu, 30 Oct 2025 14:12:39 +0900 Subject: [PATCH 06/11] =?UTF-8?q?fix=20:=20CI/CD=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c903df5..8878bfb 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,7 +15,7 @@ jobs: run: apk add ruby && gem install mustache - name: creates output - run: sh ./build.sh + run: ../../build.sh - name: Pushes to another repository id: push_directory From 9945ba5ed398b2e0da9d034740ea0847fee5f267 Mon Sep 17 00:00:00 2001 From: ChanJin Date: Thu, 30 Oct 2025 14:14:38 +0900 Subject: [PATCH 07/11] =?UTF-8?q?fix=20:=20CI/CD=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8878bfb..bcaf2e9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,7 +15,7 @@ jobs: run: apk add ruby && gem install mustache - name: creates output - run: ../../build.sh + run: ./build.sh - name: Pushes to another repository id: push_directory From f0bae4556d5ccc93f70831db2105a6f8547060c7 Mon Sep 17 00:00:00 2001 From: ChanJin Date: Thu, 30 Oct 2025 14:17:21 +0900 Subject: [PATCH 08/11] =?UTF-8?q?fix=20:=20CI/CD=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index b47c64c..3ff7931 100644 --- a/build.sh +++ b/build.sh @@ -1,5 +1,5 @@ #!/bin/sh cd ../ mkdir output -cp -R ./Front-G2G/* ./output -cp -R ./output ./Front-G2G/ +cp -R ./Frontend-G2G/* ./output +cp -R ./output ./Frontend-G2G/ From 27c38f1fec87f27bedf1e2403ee09c8beeb3c641 Mon Sep 17 00:00:00 2001 From: cks-wls Date: Thu, 30 Oct 2025 14:20:00 +0900 Subject: [PATCH 09/11] =?UTF-8?q?chore=20:=20=EC=8B=A4=ED=96=89=20?= =?UTF-8?q?=EA=B6=8C=ED=95=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 build.sh diff --git a/build.sh b/build.sh old mode 100644 new mode 100755 From 7816cbb296bb0775c701e86b89b6b381a8a2d88b Mon Sep 17 00:00:00 2001 From: cks-wls Date: Thu, 30 Oct 2025 14:35:44 +0900 Subject: [PATCH 10/11] =?UTF-8?q?chore=20:=20PR=20Preview=20=ED=99=9C?= =?UTF-8?q?=EC=84=B1=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/preview.yaml | 43 ++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/preview.yaml diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml new file mode 100644 index 0000000..e85be31 --- /dev/null +++ b/.github/workflows/preview.yaml @@ -0,0 +1,43 @@ +name: Preview + +on: + pull_request: + branches: ["main"] + +jobs: + vercel-preview: + runs-on: ubuntu-latest + + env: + VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} + VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} + + steps: + - uses: actions/checkout@v4 + - name: Install Vercel CLI + run: npm install --global vercel@latest && npm install --global pnpm + - name: Get Vercel Environment Variables + run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} + - name: Build Project Artifacts + run: vercel build --token=${{ secrets.VERCEL_TOKEN }} + - name: Deploy Project Artifacts to Vercel + id: deploy + + run: | + + vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} > vercel-output.txt + echo "preview_url=$(cat vercel-output.txt)" >> $GITHUB_OUTPUT + + - name: Comment PR with Preview URL + uses: thollander/actions-comment-pull-request@v2 + with: + message: | + ✅ PREVIEW ${{ steps.deploy.outputs.preview_url }} + +permissions: + contents: read + pages: write + deployments: write + id-token: write + issues: write + pull-requests: write From 945aa278f350326cea9e2090349265e401e4862d Mon Sep 17 00:00:00 2001 From: cks-wls Date: Thu, 30 Oct 2025 14:38:45 +0900 Subject: [PATCH 11/11] =?UTF-8?q?docs=20:=20README.md=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 18aa516..ff158b7 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -G2G +G2G(Good to Grow)