# 使用的分支 branch: main # 构建步骤 steps: - name: Clone repository uses: actions/checkout@v3 - name: Install Deno uses: denoland/setup-deno@v1 with: deno-version: v1.x - name: Install Node.js uses: actions/setup-node@v3 with: node-version: lts/* - name: Build step run: "npm install && npm run build" env: VERSION: 1.0 USERNAME: root PASSWORD: pwd - name: Upload to Deno Deploy uses: denoland/deployctl@v1 with: project: "zestack" entrypoint: "https://raw.githubusercontent.com/zestack/zestack/main/server.ts" root: "build"