File tree 10 files changed +49
-9
lines changed
10 files changed +49
-9
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : bundler
4
+ directory : /
5
+ schedule :
6
+ interval : daily
7
+ allow :
8
+ - dependency-type : direct
Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : ["main"]
6
+ pull_request :
7
+
8
+ jobs :
9
+ # Build job
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v4
15
+ - name : Setup Ruby
16
+ uses : ruby/setup-ruby@v1
17
+ with :
18
+ ruby-version : ' 3.3' # Not needed with a .ruby-version file
19
+ bundler-cache : true # runs 'bundle install' and caches installed gems automatically
20
+ cache-version : 0 # Increment this number if you need to re-download cached gems
21
+ - name : Build with Jekyll
22
+ run : bundle exec jekyll build
Original file line number Diff line number Diff line change
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+
6
+ # Sample workflow for building and deploying a Jekyll site to GitHub Pages
7
+ name : Deploy Jekyll site to Pages
8
+
9
+ on :
10
+ push :
11
+ branches : ["main"]
12
+
13
+ # Allows you to run this workflow manually from the Actions tab
14
+ workflow_dispatch :
15
+
1
16
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
2
17
permissions :
3
18
contents : read
13
28
# Build job
14
29
build :
15
30
runs-on : ubuntu-latest
16
- defaults :
17
- run :
18
- working-directory : docs
19
31
steps :
20
32
- name : Checkout
21
33
uses : actions/checkout@v4
25
37
ruby-version : ' 3.3' # Not needed with a .ruby-version file
26
38
bundler-cache : true # runs 'bundle install' and caches installed gems automatically
27
39
cache-version : 0 # Increment this number if you need to re-download cached gems
28
- working-directory : ' ${{ github.workspace }}/docs'
29
40
- name : Setup Pages
30
41
id : pages
31
42
uses : actions/configure-pages@v5
37
48
- name : Upload artifact
38
49
# Automatically uploads an artifact from the './_site' directory by default
39
50
uses : actions/upload-pages-artifact@v3
40
- with :
41
- path : " docs/_site/"
42
51
43
52
# Deployment job
44
53
deploy :
50
59
steps :
51
60
- name : Deploy to GitHub Pages
52
61
id : deployment
53
- uses : actions/deploy-pages@v4
62
+ uses : actions/deploy-pages@v4
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
---
2
- title : Home
3
- layout : home
2
+ title : 旨在从 0 到 1 实现一个基础的 redis-server 版本。其包含:
3
+ layout : default
4
+ nav_order : 1
4
5
---
5
6
6
7
# 概览
File renamed without changes.
You can’t perform that action at this time.
0 commit comments