-
-
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.
* Create action.yml * Update Dockerfile * Update README.md * Update entrypoint.sh * Update GitHub-Pages-deploy.gif
- Loading branch information
1 parent
f6dc646
commit cd4e82a
Showing
5 changed files
with
36 additions
and
26 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,14 +1,6 @@ | ||
FROM alpine/git:latest | ||
|
||
LABEL "com.github.actions.name"="GH 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/GitHub-Pages-deploy" | ||
LABEL "homepage"="https://github.com/Cecilapp/GitHub-Pages-deploy" | ||
LABEL "maintainer"="Arnaud Ligny <[email protected]>" | ||
|
||
ADD entrypoint.sh / | ||
RUN chmod +x /entrypoint.sh | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -21,9 +21,9 @@ jobs: | |
- name: 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 verified email | ||
JEKYLL_SITE: "YES" # only in case of a Jekyll site | ||
EMAIL: [email protected] # must be a verified email | ||
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }} # https://github.com/settings/tokens | ||
BUILD_DIR: _site/ # "_site/" by default | ||
CNAME: narno.com # in case of custom domain | ||
JEKYLL_SITE: "YES" # only in case of a Jekyll site | ||
``` |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: 'GH Pages deploy' | ||
description: 'A GitHub Action to deploy a static site on GitHub Pages.' | ||
author: 'Arnaud Ligny' | ||
branding: | ||
icon: 'upload-cloud' | ||
color: 'black' | ||
|
||
runs: | ||
using: 'docker' | ||
image: 'Dockerfile' |
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