Sam Therapy
11f0d46460
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
40 lines
No EOL
659 B
YAML
40 lines
No EOL
659 B
YAML
kind: pipeline
|
|
name: PR
|
|
type: docker
|
|
|
|
steps:
|
|
- name: Build
|
|
image: plugins/docker
|
|
depends_on:
|
|
- "clone"
|
|
settings:
|
|
repo: git.froth.zone/sam/drone-deno-deploy
|
|
dry_run: true
|
|
when:
|
|
event:
|
|
- pull_request
|
|
|
|
---
|
|
kind: pipeline
|
|
name: Push
|
|
type: docker
|
|
|
|
steps:
|
|
- name: Build & Publish
|
|
depends_on:
|
|
- "clone"
|
|
image: plugins/docker
|
|
settings:
|
|
registry: git.froth.zone
|
|
username: sam
|
|
password:
|
|
from_secret: password
|
|
repo: git.froth.zone/sam/drone-deno-deploy
|
|
tags: latest
|
|
when:
|
|
branch:
|
|
- master
|
|
event:
|
|
- push
|
|
depends_on:
|
|
- "clone" |