GitHub Actions: Use the new way to toggle Bundler's deployment mode

This silences the following warning message:

[DEPRECATED] The `--deployment` flag is deprecated because it relies
on being remembered across bundler invocations, which bundler will
no longer do in future versions. Instead please use
`bundle config set --local deployment 'true'`, and stop using this flag
This commit is contained in:
Hugo Locurcio 2021-09-01 00:32:37 +02:00 committed by sfan5
parent 9909cb7ca0
commit 411d9247be

View File

@ -18,7 +18,8 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get install libcurl4-openssl-dev
bundle install --jobs=3 --retry=3 --deployment
bundle config set --local deployment 'true'
bundle install --jobs=3 --retry=3
- name: Run tests
run: |
bundle exec jekyll build