mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2025-05-05 14:55:29 +08:00
add: badges to check the latest version of actions
This commit is contained in:
parent
439a9e3bd9
commit
3bb910b746
@ -20,6 +20,9 @@ An example with [GitHub Actions for deploying to GitHub Pages with Static Site G
|
|||||||
|
|
||||||
[GitHub Actions for deploying to GitHub Pages with Static Site Generators]: https://github.com/peaceiris/actions-gh-pages
|
[GitHub Actions for deploying to GitHub Pages with Static Site Generators]: https://github.com/peaceiris/actions-gh-pages
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
workflow "GitHub Pages" {
|
workflow "GitHub Pages" {
|
||||||
on = "push"
|
on = "push"
|
||||||
@ -39,7 +42,7 @@ action "build" {
|
|||||||
|
|
||||||
action "deploy" {
|
action "deploy" {
|
||||||
needs = "build"
|
needs = "build"
|
||||||
uses = "peaceiris/actions-gh-pages@v1.0.0"
|
uses = "peaceiris/actions-gh-pages@v1.0.1"
|
||||||
env = {
|
env = {
|
||||||
PUBLISH_DIR = "./public"
|
PUBLISH_DIR = "./public"
|
||||||
PUBLISH_BRANCH = "gh-pages"
|
PUBLISH_BRANCH = "gh-pages"
|
||||||
|
Loading…
Reference in New Issue
Block a user