webzone/.drone.yml

26 lines
511 B
YAML

kind: pipeline
type: docker
name: example pipeline
steps:
- name: Build site
image: denoland/deno:alpine
commands:
- deno task build
- 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: samme-blog
entrypoint: server.ts
production: true
depends_on:
- "Build site"
when:
branch:
- master
event:
- push