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