Skip to content

Commit 1f78e2b

Browse files
committed
add: images and is-not-branch-deleted action
1 parent a18ce52 commit 1f78e2b

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,13 @@ action "is-branch-master" {
5353
args = "branch master"
5454
}
5555
56+
action "is-not-branch-deleted" {
57+
uses = "actions/bin/filter@master"
58+
args = "not deleted"
59+
}
60+
5661
action "build" {
57-
needs = "is-branch-master"
62+
needs = ["is-branch-master", "is-not-branch-deleted"]
5863
uses = "peaceiris/actions-hugo@v0.55.6"
5964
args = ["--gc", "--minify", "--cleanDestinationDir"]
6065
}
@@ -70,6 +75,10 @@ action "deploy" {
7075
}
7176
```
7277

78+
| Workflow overview | Actions log |
79+
|---|---|
80+
| ![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) |
81+
7382

7483

7584
## Examples

images/workflow-1.jpg

67.1 KB
Loading

images/workflow-2.jpg

28.8 KB
Loading

0 commit comments

Comments
 (0)