Update drone pipeline
continuous-integration/drone/push Build is passing Details

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2022-10-11 20:45:52 +02:00
parent 247b146e7d
commit 66375b1dfe
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
1 changed files with 13 additions and 3 deletions

View File

@ -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"