Skip to content

Commit 34c1a9c

Browse files
committed
fix and readme
1 parent ed37f07 commit 34c1a9c

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
FROM lehmannka/cobalt.rs
22

3-
RUN apt update && apt install -y git
3+
ARG DEBIAN_FRONTEND=noninteractive
4+
RUN apt-get update \
5+
&& apt-get install -yqq \
6+
apt-utils \
7+
git
48
COPY ./entrypoint.sh /entrypoint.sh
59

610
WORKDIR /src/

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Cobalt deploy GithubPages
2+
3+
This action deploy the build generated by cobalt.
4+
5+
## inputs
6+
### `githubToken`
7+
**Required** Personal Access Token with permission to the repository.
8+
### `repo`
9+
Repository to push building page. By default use env `GITHUB_REPOSITORY`
10+
### `branch`
11+
Branch to push building page. Default: `gh-pages`
12+
### `cname`
13+
Registry dns name to GithubPage. By default is assigned by Github.
14+
15+
## Example
16+
```yaml
17+
18+
```

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: "Cobalt deploy gh-pages"
33
author: "saidgeek"
44
description: "Github action to deploy static page generated with cobalt into gh-pages branch on Github"
55

6+
branding:
7+
icon: "upload-cloud"
8+
color: "green"
9+
610
runs:
711
using: "docker"
812
image: "Dockerfile"

0 commit comments

Comments
 (0)