Skip to content

Commit

Permalink
ci: add Deno Deploy CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gizmo-ds committed Jul 24, 2023
1 parent c71fbd4 commit e558835
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/deno-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: deno-deploy

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- run: pnpm install
- run: pnpm build
env:
NITRO_PRESET: deno-deploy
- name: Deploy to Deno Deploy
uses: denoland/deployctl@v1
with:
project: afdian-connect
entrypoint: server/index.ts
root: .output

0 comments on commit e558835

Please sign in to comment.