We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8b08aa commit 08b6c94Copy full SHA for 08b6c94
.github/workflows/deploy.yml
@@ -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
32
+ github_token: ${{ secrets.GITHUB_TOKEN }}
33
+ publish_dir: ./_site
0 commit comments