mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2026-10-08 20:40:43 +00:00
add: images and is-not-branch-deleted action
This commit is contained in:
1 parent
a18ce52dfa
commit
1f78e2b780
3 files changed
+10
-1
No files matched your search
@@ -53,8 +53,13 @@ action "is-branch-master" {
|
|||||||
args = "branch master"
|
args = "branch master"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
action "is-not-branch-deleted" {
|
||||||
|
uses = "actions/bin/filter@master"
|
||||||
|
args = "not deleted"
|
||||||
|
}
|
||||||
|
|
||||||
action "build" {
|
action "build" {
|
||||||
needs = "is-branch-master"
|
needs = ["is-branch-master", "is-not-branch-deleted"]
|
||||||
uses = "peaceiris/actions-hugo@v0.55.6"
|
uses = "peaceiris/actions-hugo@v0.55.6"
|
||||||
args = ["--gc", "--minify", "--cleanDestinationDir"]
|
args = ["--gc", "--minify", "--cleanDestinationDir"]
|
||||||
}
|
}
|
||||||
@@ -70,6 +75,10 @@ action "deploy" {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
| Workflow overview | Actions log |
|
||||||
|
|---|---|
|
||||||
|
|  |  |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 67 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
Reference in new issue
Block a user