webzone/.drone.yml
Sam Therapy 63925530b1
All checks were successful
continuous-integration/drone/push Build is passing
404 properly
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-11 21:28:17 +02:00

37 lines
661 B
YAML

kind: pipeline
type: docker
name: Build & Deploy
clone:
disable: true
steps:
- name: Clone
image: woodpeckerci/plugin-git
settings:
recursive: true
- name: Build site
image: denoland/deno:alpine
commands:
- deno task build
depends_on:
- "Clone"
- name: Deploy
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
include: dist,server.ts
depends_on:
- "Build site"
when:
branch:
- master
event:
- push