From ab5cd6af843f494053480928a227f46c1e3e6ce9 Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Tue, 11 Oct 2022 03:15:04 +0200 Subject: [PATCH] ci: Add test pipeline Signed-off-by: Sam Therapy --- .drone.yml | 19 +++++++++++++++++-- example | 2 +- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index f686118..b01f175 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,7 +3,17 @@ name: default type: docker steps: -- name: docker + +- name: Build + image: plugins/docker + settings: + repo: git.froth.zone/sam/drone-deno-deploy + dry_run: true + when: + event: + - pull_request + +- name: Build & Publish image: plugins/docker settings: registry: git.froth.zone @@ -11,4 +21,9 @@ steps: password: from_secret: password repo: git.froth.zone/sam/drone-deno-deploy - tags: latest \ No newline at end of file + tags: latest + when: + branch: + - master + event: + - push \ No newline at end of file diff --git a/example b/example index 721d73e..d5fe3ee 160000 --- a/example +++ b/example @@ -1 +1 @@ -Subproject commit 721d73edde6886e5c23a203858bf11d01422fc1b +Subproject commit d5fe3ee49ee63651ba7f2f0884e71cbae33d6411