diff --git a/.drone.yml b/.drone.yml index 5afa652..ea90032 100644 --- a/.drone.yml +++ b/.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"