Skip to content

Commit 9e3d304

Browse files
authored
Merge pull request #921 from github/jk-replaces-pages-builder
Add new pages builder
2 parents d20262c + d8349a4 commit 9e3d304

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

.github/main.workflow

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,13 @@ action "CI Test Runner" {
77
uses = "./.github/test_runner"
88
secrets = ["GITHUB_TOKEN"]
99
}
10+
11+
workflow "build" {
12+
on = "push"
13+
resolves = ["Jekyll Pages Builder"]
14+
}
15+
16+
action "Jekyll Pages Builder" {
17+
uses = "./.github/pages_builder"
18+
secrets = ["GITHUB_TOKEN"]
19+
}

.github/pages_builder/Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM jekyll/jekyll
2+
3+
LABEL "com.github.actions.name"="Jekyll Pages Builder"
4+
LABEL "com.github.actions.description"="Build the full jekyll pages site"
5+
LABEL "com.github.actions.icon"="gear"
6+
LABEL "com.github.actions.color"="purple"
7+
8+
ENV LC_ALL C.UTF-8
9+
ENV LANG en_US.UTF-8
10+
ENV LANGUAGE en_US.UTF-8
11+
12+
COPY entrypoint.sh /
13+
14+
ENTRYPOINT ["/entrypoint.sh"]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh -l
2+
3+
script/bootstrap
4+
cd test && npm install && cd ..
5+
JEKYLL_GITHUB_TOKEN=$GITHUB_TOKEN script/build

0 commit comments

Comments
 (0)