add: badges to check the latest version of actions

This commit is contained in:
peaceiris 2019-05-27 06:22:45 +09:00
parent 439a9e3bd9
commit 3bb910b746
1 changed files with 4 additions and 1 deletions

View File

@ -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
![peaceiris/actions-hugo latest version](https://img.shields.io/github/release/peaceiris/actions-hugo.svg?label=peaceiris%2Factions-hugo)
![peaceiris/actions-gh-pages latest version](https://img.shields.io/github/release/peaceiris/actions-gh-pages.svg?label=peaceiris%2Factions-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"