From e1edbef4ceea032d17bd1e2cb6789220fc24396a Mon Sep 17 00:00:00 2001 From: Bo Lu Date: Thu, 15 Feb 2024 11:00:19 -0500 Subject: [PATCH] Add worflow_dispatch and locks in bundler version --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4eaa17d9..8a53adcf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,8 @@ on: branches: - main - 'v**' + # Allows workflow to be manually run from Actions tab + workflow_dispatch: name: CI @@ -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