-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 815 Bytes
/
jekyll.yml
File metadata and controls
38 lines (31 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Build and deploy Jekyll site to GitHub Pages
on:
push:
branches:
- master
workflow_dispatch:
permissions:
contents: write
pages: write
id-token: write
jobs:
jekyll:
runs-on: ubuntu-latest
steps:
- name: 📂 Check out repository
uses: actions/checkout@v3
- name: 💎 Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.1
bundler-cache: true
- name: 🔨 Install dependencies
run : bundle install --without development test
- name: 🔨 Build site
run : bundle exec jekyll build
- name: 🚀 Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
publish_branch: publish