1
0
mirror of https://github.com/thangisme/notes.git synced 2024-06-20 14:55:23 +00:00

Update ci.yml

This commit is contained in:
Patrick Marsceill 2020-04-23 16:12:44 -04:00 committed by GitHub
parent 3c584e2d8a
commit 48b1ab47b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,8 +4,8 @@ name: CI
jobs:
jekyll:
name: Build Jekyll site
jekyll-latest:
name: Build Jekyll site (latest)
runs-on: ubuntu-latest
steps:
@ -15,10 +15,10 @@ jobs:
run: |
docker run --rm \
--volume="${{ github.workspace }}:/srv/jekyll" \
jekyll/builder:latest /bin/bash -c "gem install bundler && chmod 777 /srv/jekyll && jekyll build"
search:
name: Test search rake command
jekyll/builder:latest /bin/bash -c "gem install bundler && chmod 777 /srv/jekyll && jekyll build && chmod 777 && assets/js/ && bundle exec just-the-docs rake search:init"
jekyll-3.8.5:
name: Build Jekyll site (v3.8.5)
runs-on: ubuntu-latest
steps:
@ -28,7 +28,7 @@ jobs:
run: |
docker run --rm \
--volume="${{ github.workspace }}:/srv/jekyll" \
jekyll/builder:3.8.5 /bin/bash -c "gem install bundler && chmod 777 /srv/jekyll && jekyll build && bundle exec just-the-docs rake search:init"
jekyll/builder:3.8.5 /bin/bash -c "gem install bundler && chmod 777 /srv/jekyll && jekyll build && chmod 777 && assets/js/ && bundle exec just-the-docs rake search:init"
css:
name: Stylelint