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.
28 lines
552 B
28 lines
552 B
3 months ago
|
name: Deploy
|
||
|
|
||
|
vcs:
|
||
|
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"
|
||
|
|
||
|
- name: Upload to Deno Deploy
|
||
|
uses: denoland/deployctl@v1
|
||
|
with:
|
||
|
project: "zestack"
|
||
|
entrypoint: "https://raw.githubusercontent.com/zestack/zestack/main/server.ts"
|
||
|
root: "build"
|