Only build and publish docker image to github when pushing master
This commit is contained in:
@@ -73,6 +73,11 @@ steps:
|
|||||||
password:
|
password:
|
||||||
from_secret: GITHUB_PASSWORD
|
from_secret: GITHUB_PASSWORD
|
||||||
tags: latest
|
tags: latest
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
|
|||||||
Reference in New Issue
Block a user