diff --git a/Dockerfile b/Dockerfile index 8d5492d..e652380 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ FROM alpine/git:latest -LABEL "com.github.actions.name"="GitHub Pages deploy Action" +LABEL "com.github.actions.name"="GitHub Pages deploy" LABEL "com.github.actions.description"="A GitHub Action to deploy a static site on GitHub Pages." LABEL "com.github.actions.icon"="upload-cloud" LABEL "com.github.actions.color"="black" -LABEL "repository"="https://github.com/Cecilapp/GHPages-deploy-Action" -LABEL "homepage"="https://github.com/Cecilapp/GHPages-deploy-Action" +LABEL "repository"="https://github.com/Cecilapp/GitHub-Pages-deploy" +LABEL "homepage"="https://github.com/Cecilapp/GitHub-Pages-deploy" LABEL "maintainer"="Arnaud Ligny " ADD entrypoint.sh / diff --git a/README.md b/README.md index c76be5a..cb81366 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,17 @@ -# GitHub Pages deploy Action +# GitHub Pages deploy A GitHub Action to deploy a static site on GitHub Pages. ## Usage ```hcl -action "Deploy to GH Pages" { - uses = "Cecilapp/GHPages-deploy-Action@master" +action "Deploy to GitHub Pages" { + uses = "Cecilapp/GitHub-Pages-deploy@master" env = { BUILD_DIR = "_site/" # "_site/" by default CNAME = "narno.com" # in case of custom domain EMAIL = "arnaud@ligny.org" # must be a verifed email - JEKYLL_SITE = "YES" # only in case of Jekyll site + JEKYLL_SITE = "YES" # only in case of a Jekyll site } secrets = ["GH_TOKEN"] # https://github.com/settings/tokens } diff --git a/entrypoint.sh b/entrypoint.sh index d2e0180..e1f04a6 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -46,6 +46,7 @@ then echo "Disable Jekyll" touch .nojekyll fi +# Nothing to deploy? if [ -z "$(git status --porcelain)" ]; then echo "Nothing to deploy" else