Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
247b146e7d
commit
66375b1dfe
1 changed files with 13 additions and 3 deletions
16
.drone.yml
16
.drone.yml
|
@ -1,21 +1,31 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: example pipeline
|
||||
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 to Deno Deploy (prod)
|
||||
- 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
|
||||
entrypoint: serve.ts
|
||||
production: true
|
||||
depends_on:
|
||||
- "Build site"
|
||||
|
|
Loading…
Reference in a new issue