mirror of
https://github.com/status-im/actions-gh-pages.git
synced 2025-02-03 00:34:31 +00:00
add: images and is-not-branch-deleted action
This commit is contained in:
parent
a18ce52dfa
commit
1f78e2b780
11
README.md
11
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
|
||||
|
BIN
images/workflow-1.jpg
Normal file
BIN
images/workflow-1.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 67 KiB |
BIN
images/workflow-2.jpg
Normal file
BIN
images/workflow-2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
Loading…
x
Reference in New Issue
Block a user