deno-deploy-example/.drone.yml
Sam Therapy c87abedc4d
Some checks reported errors
continuous-integration/drone/push Build encountered an error
ci / build (push) Failing after 13s
try
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2024-03-27 21:46:48 +01:00

34 lines
719 B
YAML

kind: pipeline
type: docker
name: example pipeline
steps:
- name: Staging
image: git.froth.zone/sam/drone-deno-deploy
environment:
DENO_DEPLOY_TOKEN:
from_secret: DENO_DEPLOY_TOKEN
settings:
project: drone-deploy
entrypoint: server/main.ts
when:
event:
- pull_request
depends_on:
- "Clone"
- name: Deploy to Deno Deploy (prod)
image: git.froth.zone/sam/drone-deno-deploy
environment:
DENO_DEPLOY_TOKEN:
from_secret: DENO_DEPLOY_TOKEN
settings:
project: drone-deploy
entrypoint: server/main.ts
production: true
depends_on:
- "Clone"
when:
branch:
- master
event:
- push