mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2026-01-24 20:12:15 +01:00
add: badges to check the latest version of actions
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user