deno-deploy-example/.drone.yml
Sam Therapy 73fd045613
Some checks failed
continuous-integration/drone/push Build is passing
ci / build (push) Failing after 5s
try again again
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2024-03-27 22:12:30 +01:00

31 lines
No EOL
657 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
- name: Deploy to Deno Deploy (prod)
image: ghcr.io/samtherapy/deno-deploy:latest
environment:
DENO_DEPLOY_TOKEN:
from_secret: DENO_DEPLOY_TOKEN
settings:
project: drone-deploy
entrypoint: server/main.ts
production: true
when:
branch:
- master
event:
- push