Skip to content

Commit

Permalink
Rename (#1)
Browse files Browse the repository at this point in the history
Rename to "GitHub-Pages-deploy".
  • Loading branch information
ArnaudLigny authored Aug 1, 2019
1 parent 1ccd1db commit f4acb91
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"

ADD entrypoint.sh /
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]" # 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
}
Expand Down
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f4acb91

Please sign in to comment.