Skip to content

Commit 08b6c94

Browse files
author
Cyrille Pierre Henri Favreau
committed
Fixed jekyll version
1 parent d8b08aa commit 08b6c94

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build and Deploy Jekyll Site
2+
3+
on:
4+
push:
5+
branches:
6+
- main # Remplace par ta branche principale si nécessaire
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v2
15+
16+
- name: Setup Ruby
17+
uses: ruby/setup-ruby@v1
18+
with:
19+
ruby-version: '2.7'
20+
21+
- name: Install dependencies
22+
run: |
23+
gem install bundler
24+
bundle install
25+
26+
- name: Build site
27+
run: bundle exec jekyll build
28+
29+
- name: Deploy to GitHub Pages
30+
uses: peaceiris/actions-gh-pages@v3
31+
with:
32+
github_token: ${{ secrets.GITHUB_TOKEN }}
33+
publish_dir: ./_site

0 commit comments

Comments
 (0)