From 02eaf6c3085a114826ca9df7cb1189358d6f7934 Mon Sep 17 00:00:00 2001 From: Tommy Byrd Date: Fri, 17 Dec 2021 17:43:47 -0500 Subject: [PATCH 1/2] add jekyll-octicons to published image --- .github/workflows/test.yml | 25 +++++++++++++++++++++++++ Gemfile | 1 + entrypoint.sh | 2 +- test_projects/octicons/README.md | 5 +++++ test_projects/octicons/_config.yml | 2 ++ 5 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 test_projects/octicons/README.md create mode 100644 test_projects/octicons/_config.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8bd014f..ce05365 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -61,6 +61,31 @@ jobs: name: ${{ env.TEST_NAME }} path: ./test_projects/${{ env.TEST_NAME }} + test-octicons: + runs-on: ubuntu-latest + env: + TEST_NAME: octicons + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Render Action Metadata + run: | + ./bin/render_action_metadata Dockerfile > action.yml + + - name: Test ${{ env.TEST_NAME }} Project + uses: ./ + with: + source: ./test_projects/${{ env.TEST_NAME }} + destination: ./test_projects/${{ env.TEST_NAME }}/_site + token: ${{ secrets.GITHUB_TOKEN }} + + - name: Save test results + uses: actions/upload-artifact@v2 + with: + name: ${{ env.TEST_NAME }} + path: ./test_projects/${{ env.TEST_NAME }} + test-mojombo: runs-on: ubuntu-latest env: diff --git a/Gemfile b/Gemfile index 5f95170..d478e7b 100644 --- a/Gemfile +++ b/Gemfile @@ -11,3 +11,4 @@ gem "github-pages", "= 222" # It is not directly included in the github-pages gem list of dependencies, # even though it is included in the original GitHub Pages build infrastructure. gem "jekyll-include-cache", "= 0.2.1" +gem "jekyll-octicons"", "~> 14.2" \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh index d2e5c72..c78abac 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,7 +1,7 @@ #!/bin/bash ####################################################################################################### -# +# # Calls github-pages executable to build the site using whitelisted plugins and supported configuration # ####################################################################################################### diff --git a/test_projects/octicons/README.md b/test_projects/octicons/README.md new file mode 100644 index 0000000..12914ed --- /dev/null +++ b/test_projects/octicons/README.md @@ -0,0 +1,5 @@ +# Readme Test + +{% octicon alert height:32 class:"right left" aria-label:hi %} + + diff --git a/test_projects/octicons/_config.yml b/test_projects/octicons/_config.yml new file mode 100644 index 0000000..432f9ef --- /dev/null +++ b/test_projects/octicons/_config.yml @@ -0,0 +1,2 @@ +plugins: + - jekyll-octicons From 025dec17b199dfc85fce17b5fc86a7e1ff889237 Mon Sep 17 00:00:00 2001 From: Tommy Byrd Date: Fri, 17 Dec 2021 17:50:35 -0500 Subject: [PATCH 2/2] fix quote --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index d478e7b..944d7b7 100644 --- a/Gemfile +++ b/Gemfile @@ -11,4 +11,4 @@ gem "github-pages", "= 222" # It is not directly included in the github-pages gem list of dependencies, # even though it is included in the original GitHub Pages build infrastructure. gem "jekyll-include-cache", "= 0.2.1" -gem "jekyll-octicons"", "~> 14.2" \ No newline at end of file +gem "jekyll-octicons", "~> 14.2"