Skip to content

Commit

Permalink
Add worflow_dispatch and locks in bundler version
Browse files Browse the repository at this point in the history
  • Loading branch information
bo-lu authored Feb 15, 2024
1 parent 7fe31f3 commit e1edbef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
branches:
- main
- 'v**'
# Allows workflow to be manually run from Actions tab
workflow_dispatch:

name: CI

Expand All @@ -22,7 +24,7 @@ jobs:
run: |
docker run --rm \
--volume="${{ github.workspace }}:/srv/jekyll" \
jekyll/jekyll:${{ matrix.jekyll-version }} /bin/bash -c "gem install bundler && chmod -R 777 /srv/jekyll && bundle install && bundle exec jekyll build && bundle exec rake search:init"
jekyll/jekyll:${{ matrix.jekyll-version }} /bin/bash -c "gem install bundler -v 2.4.22 && chmod -R 777 /srv/jekyll && bundle install && bundle exec jekyll build && bundle exec rake search:init"
assets:
name: Test CSS and JS
Expand Down

0 comments on commit e1edbef

Please sign in to comment.