You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
devops/deploy.yml

31 lines
633 B

# 使用的分支
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"