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