Merge pull request #5 from actions/add-jekyll-octicons
Add jekyll-octicons to published image
This commit is contained in:
@@ -61,6 +61,31 @@ jobs:
|
|||||||
name: ${{ env.TEST_NAME }}
|
name: ${{ env.TEST_NAME }}
|
||||||
path: ./test_projects/${{ 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:
|
test-mojombo:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -11,3 +11,4 @@ gem "github-pages", "= 222"
|
|||||||
# It is not directly included in the github-pages gem list of dependencies,
|
# 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.
|
# even though it is included in the original GitHub Pages build infrastructure.
|
||||||
gem "jekyll-include-cache", "= 0.2.1"
|
gem "jekyll-include-cache", "= 0.2.1"
|
||||||
|
gem "jekyll-octicons", "~> 14.2"
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# Readme Test
|
||||||
|
|
||||||
|
{% octicon alert height:32 class:"right left" aria-label:hi %}
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
plugins:
|
||||||
|
- jekyll-octicons
|
||||||
Reference in New Issue
Block a user