Skip to content

.github/workflows/autoDeploy.yml #115

.github/workflows/autoDeploy.yml

.github/workflows/autoDeploy.yml #115

Workflow file for this run

name: Auto Deploy MH Problem Simulation
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
schedule:
- cron: "0 */3 * * *"
jobs:
cron:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Vercel CLI (Vercel CLI ์„ค์น˜)
run: yarn add vercel@latest
- name: Pull Vercel Environment Information (Vercel ์›๊ฒฉ ํ™˜๊ฒฝ์—์„œ ํ™˜๊ฒฝ ๋ณ€์ˆ˜ ๋ฐ ํ”„๋กœ์ ํŠธ ์„ค์ •์„ ๊ฐ€์ ธ์˜ค๊ธฐ)
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts (ํ”„๋กœ์ ํŠธ ๋นŒ๋“œ)
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel (ํ”„๋กœ์ ํŠธ๋ฅผ ๋ฐฐํฌ)
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}