Skip to content

Commit 33dfc83

Browse files
author
Anass Rach
committed
Update CI files!
1 parent ea64a50 commit 33dfc83

2 files changed

Lines changed: 14 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
uses: ruby/setup-ruby@v1
1717
with:
1818
ruby-version: '3.3'
19-
bundler-cache: false # Disable bundler cache because we’re bypassing lock consistency
19+
bundler-cache: false # Désactive cache Bundler pour éviter conflit lockfile
2020

21-
- name: Unfreeze bundler
21+
- name: Disable bundler frozen mode
2222
run: bundle config set --local frozen false
2323

2424
- name: Install dependencies
2525
run: bundle install
2626

2727
- name: Build with Jekyll
28-
run: bundle exec jekyll build
28+
run: bundle exec jekyll build

.github/workflows/pages.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,29 @@ jobs:
3131
steps:
3232
- name: Checkout
3333
uses: actions/checkout@v4
34+
3435
- name: Setup Ruby
3536
uses: ruby/setup-ruby@v1
3637
with:
3738
ruby-version: '3.3' # Not needed with a .ruby-version file
38-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
39-
cache-version: 0 # Increment this number if you need to re-download cached gems
39+
bundler-cache: false # Désactive le cache pour forcer mise à jour Gemfile.lock
40+
41+
- name: Disable bundler frozen mode
42+
run: bundle config set --local frozen false
43+
44+
- name: Install dependencies
45+
run: bundle install
46+
4047
- name: Setup Pages
4148
id: pages
4249
uses: actions/configure-pages@v5
50+
4351
- name: Build with Jekyll
4452
# Outputs to the './_site' directory by default
4553
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
4654
env:
4755
JEKYLL_ENV: production
56+
4857
- name: Upload artifact
4958
# Automatically uploads an artifact from the './_site' directory by default
5059
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)