Skip to content

Deploy Kimi to Vercel #2

Deploy Kimi to Vercel

Deploy Kimi to Vercel #2

name: Deploy Kimi to Vercel
on:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install Vercel CLI
run: npm i -g vercel --registry http://registry.npmmirror.com
- name: Change directory
run: cd kimi-free-api
- name: Deploy to Vercel
run: vercel --prod --token ${{ secrets.VERCEL_TOKEN }}
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}