Warning
- ๊ฐ์ธ์ฉ ๋ณด์ผ๋ฌํ๋ ์ดํธ
- ํญ์ ํจํค์ง ๋ฒ์ ์ ์ ํ์ธํ๊ธฐ
- React + Vite
- TypeScript + @vitejs/plugin-react-swc
- @vite-plugin-next-react-router๋ฅผ ์ฌ์ฉํ ํด๋ ๊ตฌ์กฐ ๋ผ์ฐํฐ
- Rename name and author fields in
package.json
andpackage-lock.json
(๊ธฐ๋ณธ ์ด๋ฆ์boilerplate
) - Change the author name in LICENSE
- Change the favicon in public
- Clean up the README's
ํจํค์ง ์ค์น
npm install
๋ก์ปฌ์์ ๋ฏธ๋ฆฌ๋ณด๊ธฐ ์คํ
npm run dev
Warning
plugin 'vite-plugin-next-router' uses deprecated 'enforce' option. Use 'order' option instead. plugin 'vite-plugin-next-router' uses deprecated 'transform' option. Use 'handler' option instead.
- ์์ ๊ฐ์ ๊ฒฝ๊ณ ๊ฐ ๋ฐ ์๋ ์์
- @vite-plugin-next-react-router์ ๋ฌธ์ , ์ฌ์ฉํ๋๋ฐ ์๊ด ์์ด๋ณด์.
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: 'karpitony'
destination-repository-name: '๋ ํฌ ์ด๋ฆ๋ง, ex)9oormdari-Frontend-Deploy'
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
- Vercel์ ๋ฌด๋ฃ ๋ฐฐํฌ๋ฅผ ์ํ ์กฐ์ง ๋ ํฌ์์ ๊ฐ์ธ ๋ ํฌ๋ก ๋ณ๊ฒฝ์ฌํญ ๋๊ธฐํ ํด์ฃผ๋ ๊นํ๋ธ ์ก์
.github/workflows/deploy.yml
์ ๋ถ์ฌ๋ฃ๊ธฐ- ๋ ํฌ์งํ ๋ฆฌ ์ด๋ฆ ๋ฐ๊ฟ์ ์ ๋ ฅํ๊ณ , ์ํฌ๋ฆฟ ์ ๋ ฅํ๊ธฐ
-
- EMAIL์๋ ์ด๋ฉ์ผ ์ฃผ์, AUTO_ACTIONS์๋ ghp ํ ํฐ