From 2cdc04310b63b9efa356e58be2b2e7facbb3f8d3 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Wed, 26 Jun 2019 20:41:30 +0900 Subject: [PATCH] Update main.workflow --- .github/main.workflow | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/main.workflow b/.github/main.workflow index c3103b4..5a97e83 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -3,7 +3,13 @@ workflow "Update Docker Hub Description" { on = "push" } +action "Filter master branch" { + uses = "actions/bin/filter@master" + args = "branch master" +} + action "Docker Hub Description" { + needs = ["Filter master branch"] uses = "./" secrets = ["DOCKERHUB_USERNAME", "DOCKERHUB_PASSWORD", "DOCKERHUB_REPOSITORY"] }