[Docs] 한국관광공사 X 카카오 2024 관광데이터 활용 공모전 배너 추가 #53
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to Vercel | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Install dependencies | |
run: npm install | |
- name: Build project | |
run: npm run build | |
env: | |
VITE_KAKAO_APP_KEY: ${{ secrets.VITE_KAKAO_APP_KEY }} | |
VITE_BE_ENDPOINT: ${{ secrets.VITE_BE_ENDPOINT }} | |
- name: Deploy to Vercel | |
run: npx vercel --prod --token ${{ secrets.VERCEL_TOKEN }} | |
env: | |
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | |
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} |