-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 / | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters