Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
5301dcf
πŸš€ CI/CD ν…ŒμŠ€νŠΈ
jjjuni Jun 17, 2025
7e85594
πŸ”₯ μŠ€ν† λ¦¬λΆ 제거
jjjuni Jun 17, 2025
b08ef26
πŸš€ CI/CD ν…ŒμŠ€νŠΈ
jjjuni Jun 17, 2025
c18d3cc
βž– μŠ€ν† λ¦¬λΆ μ˜μ‘΄μ„± 제거
jjjuni Jun 17, 2025
045934b
πŸ”₯ μŠ€ν† λ¦¬λΆ 제거
jjjuni Jun 17, 2025
a17b8aa
πŸš€ CI/CD ν…ŒμŠ€νŠΈ
jjjuni Jun 17, 2025
4b461a7
πŸš€ CI/CD ν…ŒμŠ€νŠΈ
jjjuni Jun 17, 2025
e8f2b3e
πŸš€ CI/CD ν…ŒμŠ€νŠΈ
jjjuni Jun 17, 2025
add1c72
πŸš€ CI/CD ν…ŒμŠ€νŠΈ
jjjuni Jun 17, 2025
cea92f8
♻️ νŽ˜μ΄μ§€ μ΄ˆκΈ°ν™” λ¦¬νŒ©ν† λ§
jjjuni Jun 17, 2025
3ed38d8
♻️ νŽ˜μ΄μ§€ μ΄ˆκΈ°ν™” λ¦¬νŒ©ν† λ§
jjjuni Jun 17, 2025
fb60166
πŸš€ CI/CD μˆ˜μ •
jjjuni Jun 17, 2025
f792124
πŸ”₯ λΆˆν•„μš”ν•œ μ½”λ“œ 제거
jjjuni Jun 17, 2025
be09384
♻️ νŽ˜μ΄μ§€ μ΄ˆκΈ°ν™” λ¦¬νŒ©ν† λ§
jjjuni Jun 17, 2025
7c2cbc9
🧐 νŽ˜μ΄μ§€ λ‘œλ”© ν…ŒμŠ€νŠΈ
jjjuni Jun 17, 2025
f2853ca
πŸ› λΉŒλ“œ μ—λŸ¬ μˆ˜μ •
jjjuni Jun 17, 2025
2231ca1
🧐 νŽ˜μ΄μ§€ λ‘œλ”© ν…ŒμŠ€νŠΈ
jjjuni Jun 17, 2025
c005625
♻️ νŽ˜μ΄μ§€ λ‘œλ”© λ¦¬νŒ©ν† λ§
jjjuni Jun 17, 2025
00cf0ad
πŸ› λΉŒλ“œ μ—λŸ¬ μˆ˜μ •
jjjuni Jun 17, 2025
e921bf0
♻️ date λ¦¬νŒ©ν† λ§
jjjuni Jun 17, 2025
90a4d19
🧐 ν”„λ‘μ‹œ ν•΄μ œ ν…ŒμŠ€νŠΈ
jjjuni Jun 17, 2025
e011fe3
βž– chromatic μ˜μ‘΄μ„± 제거
jjjuni Jun 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions .github/workflows/chromatic.yml

This file was deleted.

72 changes: 72 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Deploy Next.js to Server

on:
push:
branches: [ deploy/19-cicd ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Create .env
run: |
echo "${{ secrets.ENV }}" > .env

- name: Install dependencies
run: npm install

- name: Build Next.js
run: npm run build

- name: Upload build files
uses: actions/upload-artifact@v4
with:
name: nextjs-build
path: |
.next/
public
package.json
.env
include-hidden-files: true

deploy:
needs: build
runs-on: ubuntu-latest

steps:
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: nextjs-build
path: nextjs-build

- name: Deploy build files to server
uses: appleboy/scp-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.SSH_PASSWORD }}
port: ${{ secrets.SSH_PORT }}
source: "nextjs-build/*"
target: "/home/ubuntu/travloom-frontend"

- name: Restart Next.js
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.SSH_PASSWORD }}
port: ${{ secrets.SSH_PORT }}
script: |
cd /home/ubuntu/travloom-frontend/nextjs-build
fuser -k 3000/tcp || true
nohup npm run start > app.log 2>&1 < /dev/null &
45 changes: 0 additions & 45 deletions .storybook/main.ts

This file was deleted.

15 changes: 0 additions & 15 deletions .storybook/preview.ts

This file was deleted.

9 changes: 0 additions & 9 deletions .storybook/vitest.setup.ts

This file was deleted.

22 changes: 1 addition & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"dev": "next dev --turbopack",
"build": "next build",
"start": "next start",
"lint": "next lint",
"storybook": "dotenv -e .env -- storybook dev -p 6006",
"build-storybook": "dotenv -e .env -- storybook build",
"chromatic": "npx chromatic --project-token=chpt_f2897a40bf07024"
"lint": "next lint"
},
"dependencies": {
"@fullcalendar/core": "^6.1.17",
Expand Down Expand Up @@ -40,16 +37,7 @@
"zustand": "^5.0.4"
},
"devDependencies": {
"@chromatic-com/storybook": "3",
"@eslint/eslintrc": "^3",
"@storybook/addon-essentials": "8.6.12",
"@storybook/addon-onboarding": "8.6.12",
"@storybook/blocks": "8.6.12",
"@storybook/experimental-addon-test": "8.6.12",
"@storybook/experimental-nextjs-vite": "8.6.12",
"@storybook/nextjs": "^8.6.12",
"@storybook/react": "8.6.12",
"@storybook/test": "8.6.12",
"@tailwindcss/postcss": "^4",
"@types/lodash": "^4.17.17",
"@types/navermaps": "^3.7.9",
Expand All @@ -60,21 +48,13 @@
"@types/react-grid-layout": "^1.3.5",
"@vitest/browser": "^3.1.2",
"@vitest/coverage-v8": "^3.1.2",
"chromatic": "^11.28.2",
"dotenv-cli": "^8.0.0",
"eslint": "^9",
"eslint-config-next": "15.3.1",
"eslint-plugin-storybook": "^0.12.0",
"playwright": "^1.52.0",
"storybook": "8.6.12",
"tailwindcss": "^4",
"typescript": "^5",
"vitest": "^3.1.2"
},
"eslintConfig": {
"extends": [
"plugin:storybook/recommended"
]
},
"proxy": "http://localhost:8080"
}
Loading