diff --git a/README.md b/README.md index 3673f14..8b28569 100644 --- a/README.md +++ b/README.md @@ -53,8 +53,13 @@ action "is-branch-master" { args = "branch master" } +action "is-not-branch-deleted" { + uses = "actions/bin/filter@master" + args = "not deleted" +} + action "build" { - needs = "is-branch-master" + needs = ["is-branch-master", "is-not-branch-deleted"] uses = "peaceiris/actions-hugo@v0.55.6" args = ["--gc", "--minify", "--cleanDestinationDir"] } @@ -70,6 +75,10 @@ action "deploy" { } ``` +| Workflow overview | Actions log | +|---|---| +| ![GitHub Actions for deploying to GitHub Pages Workflow overview](./images/workflow-1.jpg) | ![GitHub Actions for deploying to GitHub Pages Actions log](./images/workflow-2.jpg) | + ## Examples diff --git a/images/workflow-1.jpg b/images/workflow-1.jpg new file mode 100644 index 0000000..7854015 Binary files /dev/null and b/images/workflow-1.jpg differ diff --git a/images/workflow-2.jpg b/images/workflow-2.jpg new file mode 100644 index 0000000..50c323d Binary files /dev/null and b/images/workflow-2.jpg differ