Compare commits
20 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a683fd7394 | |||
| 8f7ee8f844 | |||
| 8aadb46dba | |||
| ae108b738a | |||
| 4b0578bbce | |||
| 498808b77d | |||
| 0b99ed0c25 | |||
| 837d22ace1 | |||
| 38b0448455 | |||
| 0b2d6ce757 | |||
| e2cc96e2ea | |||
| 7ee131980c | |||
| 0b9e0d5ae1 | |||
| b749a008bc | |||
| e08a1986ae | |||
| 8e8c7a0a95 | |||
| 24657da185 | |||
| 0491312bd8 | |||
| 07cc42d8a0 | |||
| 1f005b94af |
@@ -3,66 +3,65 @@ name: Record Expected
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
# Use docker.io for Docker Hub if empty
|
||||
REGISTRY: ghcr.io
|
||||
# github.repository as <account>/<repo>
|
||||
IMAGE_NAME: ${{ github.repository }}
|
||||
|
||||
jobs:
|
||||
record-expected-output:
|
||||
resolve-image-tag:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
tag: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.regex-match.outputs.group1 }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Grep action.yaml content
|
||||
id: grep-image-content
|
||||
run: |
|
||||
image=$(grep -E "jekyll-build-pages.*\'" action.yml)
|
||||
echo "::set-output name=image::$image"
|
||||
- uses: actions-ecosystem/action-regex-match@v2
|
||||
id: regex-match
|
||||
with:
|
||||
text: ${{ steps.grep-image-content.outputs.image }}
|
||||
regex: "jekyll-build-pages:(.*)'"
|
||||
|
||||
- name: Build test project 'simple'
|
||||
test-builds:
|
||||
needs: resolve-image-tag
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
test:
|
||||
- simple
|
||||
- readme
|
||||
- octicons
|
||||
- mojombo
|
||||
- themes
|
||||
- jekyll-include-cache
|
||||
- future-false
|
||||
- future-true
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Build local docker image
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile
|
||||
tags: ${{ needs.resolve-image-tag.outputs.tag }}
|
||||
|
||||
- name: Build ${{ matrix.test }} Project
|
||||
uses: ./
|
||||
with:
|
||||
source: test_projects/simple
|
||||
destination: test_projects/simple/_expected
|
||||
source: ./test_projects/${{ matrix.test }}
|
||||
destination: ./test_projects/${{ matrix.test }}/_expected
|
||||
build_revision: JEKYLL_BUILD_REVISION
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build test project 'readme'
|
||||
uses: ./
|
||||
- name: Archive ${{ matrix.test }} Project
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
source: test_projects/readme
|
||||
destination: test_projects/readme/_expected
|
||||
build_revision: JEKYLL_BUILD_REVISION
|
||||
|
||||
- name: Build test project 'octicons'
|
||||
uses: ./
|
||||
with:
|
||||
source: test_projects/octicons
|
||||
destination: test_projects/octicons/_expected
|
||||
build_revision: JEKYLL_BUILD_REVISION
|
||||
|
||||
- name: Build test project 'mojombo'
|
||||
uses: ./
|
||||
with:
|
||||
source: test_projects/mojombo
|
||||
destination: test_projects/mojombo/_expected
|
||||
build_revision: JEKYLL_BUILD_REVISION
|
||||
|
||||
- name: Build test project 'themes'
|
||||
uses: ./
|
||||
with:
|
||||
source: test_projects/themes
|
||||
destination: test_projects/themes/_expected
|
||||
build_revision: JEKYLL_BUILD_REVISION
|
||||
|
||||
- name: Build test project 'jekyll-include-cache'
|
||||
uses: ./
|
||||
with:
|
||||
source: test_projects/jekyll-include-cache
|
||||
destination: test_projects/jekyll-include-cache/_expected
|
||||
build_revision: JEKYLL_BUILD_REVISION
|
||||
|
||||
- name: Build test project 'future-false'
|
||||
uses: ./
|
||||
with:
|
||||
source: test_projects/future-false
|
||||
destination: test_projects/future-false/_expected
|
||||
build_revision: JEKYLL_BUILD_REVISION
|
||||
|
||||
- name: Build test project 'future-true'
|
||||
uses: ./
|
||||
with:
|
||||
source: test_projects/future-true
|
||||
destination: test_projects/future-true/_expected
|
||||
build_revision: JEKYLL_BUILD_REVISION
|
||||
|
||||
name: ${{ matrix.test }}
|
||||
path: ./test_projects/${{ matrix.test }}/_expected
|
||||
|
||||
@@ -15,7 +15,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Run ShellCheck
|
||||
uses: ludeeus/action-shellcheck@94e0aab03ca135d11a35e5bfc14e6746dc56e7e9
|
||||
uses: ludeeus/action-shellcheck@master
|
||||
with:
|
||||
version: v0.8.0
|
||||
format: tty
|
||||
|
||||
@@ -5,7 +5,7 @@ source "https://rubygems.org"
|
||||
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
|
||||
|
||||
# Manage our dependency on the version of the github-pages gem here.
|
||||
gem "github-pages", "= 223"
|
||||
gem "github-pages", "= 226"
|
||||
|
||||
# Explicitly include this gem here.
|
||||
# It is not directly included in the github-pages gem list of dependencies,
|
||||
|
||||
@@ -27,4 +27,4 @@ inputs:
|
||||
default: ${{ github.token }}
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'docker://ghcr.io/actions/jekyll-build-pages:v1.0.1'
|
||||
image: 'docker://ghcr.io/actions/jekyll-build-pages:v1.0.3'
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- Begin Jekyll SEO tag v2.7.1 -->
|
||||
<!-- Begin Jekyll SEO tag v2.8.0 -->
|
||||
<title>The Future is Looking Bright! | jekyll-build-pages</title>
|
||||
<meta name="generator" content="Jekyll v3.9.0" />
|
||||
<meta name="generator" content="Jekyll v3.9.2" />
|
||||
<meta property="og:title" content="The Future is Looking Bright!" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<meta name="description" content="Everything’s coming up Milhouse." />
|
||||
@@ -20,7 +20,7 @@
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta property="twitter:title" content="The Future is Looking Bright!" />
|
||||
<script type="application/ld+json">
|
||||
{"mainEntityOfPage":{"@type":"WebPage","@id":"https://github.com/pages/actions/jekyll-build-pages/2020/02/13/the-future-is-looking-bright.html"},"description":"Everything’s coming up Milhouse.","url":"https://github.com/pages/actions/jekyll-build-pages/2020/02/13/the-future-is-looking-bright.html","@type":"BlogPosting","headline":"The Future is Looking Bright!","dateModified":"2020-02-13T00:00:00-05:00","datePublished":"2020-02-13T00:00:00-05:00","@context":"https://schema.org"}</script>
|
||||
{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2020-02-13T00:00:00-05:00","datePublished":"2020-02-13T00:00:00-05:00","description":"Everything’s coming up Milhouse.","headline":"The Future is Looking Bright!","mainEntityOfPage":{"@type":"WebPage","@id":"https://github.com/pages/actions/jekyll-build-pages/2020/02/13/the-future-is-looking-bright.html"},"url":"https://github.com/pages/actions/jekyll-build-pages/2020/02/13/the-future-is-looking-bright.html"}</script>
|
||||
<!-- End Jekyll SEO tag -->
|
||||
|
||||
<link rel="stylesheet" href="/pages/actions/jekyll-build-pages/assets/css/style.css?v=JEKYLL_BUILD_REVISION">
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- Begin Jekyll SEO tag v2.7.1 -->
|
||||
<!-- Begin Jekyll SEO tag v2.8.0 -->
|
||||
<title>The Future is Looking Bright! | jekyll-build-pages</title>
|
||||
<meta name="generator" content="Jekyll v3.9.0" />
|
||||
<meta name="generator" content="Jekyll v3.9.2" />
|
||||
<meta property="og:title" content="The Future is Looking Bright!" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<meta name="description" content="Everything’s coming up Milhouse." />
|
||||
@@ -20,7 +20,7 @@
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta property="twitter:title" content="The Future is Looking Bright!" />
|
||||
<script type="application/ld+json">
|
||||
{"mainEntityOfPage":{"@type":"WebPage","@id":"https://github.com/pages/actions/jekyll-build-pages/2020/02/13/the-future-is-looking-bright.html"},"description":"Everything’s coming up Milhouse.","url":"https://github.com/pages/actions/jekyll-build-pages/2020/02/13/the-future-is-looking-bright.html","@type":"BlogPosting","headline":"The Future is Looking Bright!","dateModified":"2020-02-13T00:00:00-05:00","datePublished":"2020-02-13T00:00:00-05:00","@context":"https://schema.org"}</script>
|
||||
{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2020-02-13T00:00:00-05:00","datePublished":"2020-02-13T00:00:00-05:00","description":"Everything’s coming up Milhouse.","headline":"The Future is Looking Bright!","mainEntityOfPage":{"@type":"WebPage","@id":"https://github.com/pages/actions/jekyll-build-pages/2020/02/13/the-future-is-looking-bright.html"},"url":"https://github.com/pages/actions/jekyll-build-pages/2020/02/13/the-future-is-looking-bright.html"}</script>
|
||||
<!-- End Jekyll SEO tag -->
|
||||
|
||||
<link rel="stylesheet" href="/pages/actions/jekyll-build-pages/assets/css/style.css?v=JEKYLL_BUILD_REVISION">
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- Begin Jekyll SEO tag v2.7.1 -->
|
||||
<!-- Begin Jekyll SEO tag v2.8.0 -->
|
||||
<title>We Live In Hell | jekyll-build-pages</title>
|
||||
<meta name="generator" content="Jekyll v3.9.0" />
|
||||
<meta name="generator" content="Jekyll v3.9.2" />
|
||||
<meta property="og:title" content="We Live In Hell" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<meta name="description" content="And it’s not even the cool hell that [redacted] are afraid of. 😭" />
|
||||
@@ -20,7 +20,7 @@
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta property="twitter:title" content="We Live In Hell" />
|
||||
<script type="application/ld+json">
|
||||
{"mainEntityOfPage":{"@type":"WebPage","@id":"https://github.com/pages/actions/jekyll-build-pages/2022/03/01/we-live-in-hell.html"},"description":"And it’s not even the cool hell that [redacted] are afraid of. 😭","url":"https://github.com/pages/actions/jekyll-build-pages/2022/03/01/we-live-in-hell.html","@type":"BlogPosting","headline":"We Live In Hell","dateModified":"2022-03-01T00:00:00-05:00","datePublished":"2022-03-01T00:00:00-05:00","@context":"https://schema.org"}</script>
|
||||
{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2022-03-01T00:00:00-05:00","datePublished":"2022-03-01T00:00:00-05:00","description":"And it’s not even the cool hell that [redacted] are afraid of. 😭","headline":"We Live In Hell","mainEntityOfPage":{"@type":"WebPage","@id":"https://github.com/pages/actions/jekyll-build-pages/2022/03/01/we-live-in-hell.html"},"url":"https://github.com/pages/actions/jekyll-build-pages/2022/03/01/we-live-in-hell.html"}</script>
|
||||
<!-- End Jekyll SEO tag -->
|
||||
|
||||
<link rel="stylesheet" href="/pages/actions/jekyll-build-pages/assets/css/style.css?v=JEKYLL_BUILD_REVISION">
|
||||
|
||||
@@ -5,18 +5,19 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- Begin Jekyll SEO tag v2.7.1 -->
|
||||
<!-- Begin Jekyll SEO tag v2.8.0 -->
|
||||
<title>jekyll-build-pages</title>
|
||||
<meta name="generator" content="Jekyll v3.9.0" />
|
||||
<meta name="generator" content="Jekyll v3.9.2" />
|
||||
<meta property="og:title" content="jekyll-build-pages" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<link rel="canonical" href="https://github.com/pages/actions/jekyll-build-pages/" />
|
||||
<meta property="og:url" content="https://github.com/pages/actions/jekyll-build-pages/" />
|
||||
<meta property="og:site_name" content="jekyll-build-pages" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta property="twitter:title" content="jekyll-build-pages" />
|
||||
<script type="application/ld+json">
|
||||
{"headline":"jekyll-build-pages","url":"https://github.com/pages/actions/jekyll-build-pages/","@type":"WebSite","name":"jekyll-build-pages","@context":"https://schema.org"}</script>
|
||||
{"@context":"https://schema.org","@type":"WebSite","headline":"jekyll-build-pages","name":"jekyll-build-pages","url":"https://github.com/pages/actions/jekyll-build-pages/"}</script>
|
||||
<!-- End Jekyll SEO tag -->
|
||||
|
||||
<link rel="stylesheet" href="/pages/actions/jekyll-build-pages/assets/css/style.css?v=JEKYLL_BUILD_REVISION">
|
||||
|
||||
@@ -101,18 +101,20 @@ GEM
|
||||
rb-fsevent (>= 0.9.3)
|
||||
rb-inotify (>= 0.9.7)
|
||||
mercenary (0.3.6)
|
||||
mini_portile2 (2.1.0)
|
||||
mini_portile2 (2.8.0)
|
||||
minima (2.0.0)
|
||||
minitest (5.9.1)
|
||||
multipart-post (2.0.0)
|
||||
net-dns (0.8.0)
|
||||
nokogiri (1.6.8.1)
|
||||
mini_portile2 (~> 2.1.0)
|
||||
nokogiri (1.13.4)
|
||||
mini_portile2 (~> 2.8.0)
|
||||
racc (~> 1.4)
|
||||
octokit (4.6.0)
|
||||
sawyer (~> 0.8.0, >= 0.5.3)
|
||||
pathutil (0.14.0)
|
||||
forwardable-extended (~> 2.6)
|
||||
public_suffix (1.5.3)
|
||||
racc (1.6.0)
|
||||
rb-fsevent (0.9.8)
|
||||
rb-inotify (0.9.7)
|
||||
ffi (>= 0.5.0)
|
||||
|
||||
@@ -5,18 +5,19 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- Begin Jekyll SEO tag v2.7.1 -->
|
||||
<!-- Begin Jekyll SEO tag v2.8.0 -->
|
||||
<title>Readme Test | jekyll-build-pages</title>
|
||||
<meta name="generator" content="Jekyll v3.9.0" />
|
||||
<meta name="generator" content="Jekyll v3.9.2" />
|
||||
<meta property="og:title" content="Readme Test" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<link rel="canonical" href="https://github.com/pages/actions/jekyll-build-pages/" />
|
||||
<meta property="og:url" content="https://github.com/pages/actions/jekyll-build-pages/" />
|
||||
<meta property="og:site_name" content="jekyll-build-pages" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta property="twitter:title" content="Readme Test" />
|
||||
<script type="application/ld+json">
|
||||
{"url":"https://github.com/pages/actions/jekyll-build-pages/","@type":"WebSite","headline":"Readme Test","name":"jekyll-build-pages","@context":"https://schema.org"}</script>
|
||||
{"@context":"https://schema.org","@type":"WebSite","headline":"Readme Test","name":"jekyll-build-pages","url":"https://github.com/pages/actions/jekyll-build-pages/"}</script>
|
||||
<!-- End Jekyll SEO tag -->
|
||||
|
||||
<link rel="stylesheet" href="/pages/actions/jekyll-build-pages/assets/css/style.css?v=JEKYLL_BUILD_REVISION">
|
||||
|
||||
@@ -5,18 +5,19 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- Begin Jekyll SEO tag v2.7.1 -->
|
||||
<!-- Begin Jekyll SEO tag v2.8.0 -->
|
||||
<title>Readme Test | jekyll-build-pages</title>
|
||||
<meta name="generator" content="Jekyll v3.9.0" />
|
||||
<meta name="generator" content="Jekyll v3.9.2" />
|
||||
<meta property="og:title" content="Readme Test" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<link rel="canonical" href="https://github.com/pages/actions/jekyll-build-pages/" />
|
||||
<meta property="og:url" content="https://github.com/pages/actions/jekyll-build-pages/" />
|
||||
<meta property="og:site_name" content="jekyll-build-pages" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta property="twitter:title" content="Readme Test" />
|
||||
<script type="application/ld+json">
|
||||
{"url":"https://github.com/pages/actions/jekyll-build-pages/","@type":"WebSite","headline":"Readme Test","name":"jekyll-build-pages","@context":"https://schema.org"}</script>
|
||||
{"@context":"https://schema.org","@type":"WebSite","headline":"Readme Test","name":"jekyll-build-pages","url":"https://github.com/pages/actions/jekyll-build-pages/"}</script>
|
||||
<!-- End Jekyll SEO tag -->
|
||||
|
||||
<link rel="stylesheet" href="/pages/actions/jekyll-build-pages/assets/css/style.css?v=JEKYLL_BUILD_REVISION">
|
||||
|
||||
@@ -5,18 +5,19 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- Begin Jekyll SEO tag v2.7.1 -->
|
||||
<!-- Begin Jekyll SEO tag v2.8.0 -->
|
||||
<title>Jekyll Actions Demo</title>
|
||||
<meta name="generator" content="Jekyll v3.9.0" />
|
||||
<meta name="generator" content="Jekyll v3.9.2" />
|
||||
<meta property="og:title" content="Jekyll Actions Demo" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<link rel="canonical" href="https://github.com/pages/actions/jekyll-build-pages/" />
|
||||
<meta property="og:url" content="https://github.com/pages/actions/jekyll-build-pages/" />
|
||||
<meta property="og:site_name" content="Jekyll Actions Demo" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta property="twitter:title" content="Jekyll Actions Demo" />
|
||||
<script type="application/ld+json">
|
||||
{"url":"https://github.com/pages/actions/jekyll-build-pages/","@type":"WebSite","headline":"Jekyll Actions Demo","name":"Jekyll Actions Demo","@context":"https://schema.org"}</script>
|
||||
{"@context":"https://schema.org","@type":"WebSite","headline":"Jekyll Actions Demo","name":"Jekyll Actions Demo","url":"https://github.com/pages/actions/jekyll-build-pages/"}</script>
|
||||
<!-- End Jekyll SEO tag -->
|
||||
|
||||
<link rel="stylesheet" href="/pages/actions/jekyll-build-pages/assets/css/style.css?v=JEKYLL_BUILD_REVISION">
|
||||
|
||||
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
@@ -5,18 +5,19 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- Begin Jekyll SEO tag v2.7.1 -->
|
||||
<!-- Begin Jekyll SEO tag v2.8.0 -->
|
||||
<title>themes</title>
|
||||
<meta name="generator" content="Jekyll v3.9.0" />
|
||||
<meta name="generator" content="Jekyll v3.9.2" />
|
||||
<meta property="og:title" content="themes" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<link rel="canonical" href="https://github.com/pages/actions/jekyll-build-pages/" />
|
||||
<meta property="og:url" content="https://github.com/pages/actions/jekyll-build-pages/" />
|
||||
<meta property="og:site_name" content="themes" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta property="twitter:title" content="themes" />
|
||||
<script type="application/ld+json">
|
||||
{"url":"https://github.com/pages/actions/jekyll-build-pages/","@type":"WebSite","headline":"themes","name":"themes","@context":"https://schema.org"}</script>
|
||||
{"@context":"https://schema.org","@type":"WebSite","headline":"themes","name":"themes","url":"https://github.com/pages/actions/jekyll-build-pages/"}</script>
|
||||
<!-- End Jekyll SEO tag -->
|
||||
|
||||
<link rel="stylesheet" href="/pages/actions/jekyll-build-pages/assets/css/style.css?v=JEKYLL_BUILD_REVISION">
|
||||
|
||||