Skip to content

Commit

Permalink
Merge pull request #5 from actions/add-jekyll-octicons
Browse files Browse the repository at this point in the history
Add jekyll-octicons to published image
  • Loading branch information
Tommy Byrd authored and GitHub committed Dec 17, 2021
2 parents 9875335 + 025dec1 commit e964665
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

#######################################################################################################
#
#
# Calls github-pages executable to build the site using whitelisted plugins and supported configuration
#
#######################################################################################################
Expand Down
5 changes: 5 additions & 0 deletions test_projects/octicons/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Readme Test

{% octicon alert height:32 class:"right left" aria-label:hi %}


2 changes: 2 additions & 0 deletions test_projects/octicons/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
plugins:
- jekyll-octicons

0 comments on commit e964665

Please sign in to comment.