Skip to content

Commit 7b78bab

Browse files
author
Freelf
committed
feat: 修改样式
1 parent 8829fcc commit 7b78bab

File tree

606 files changed

+10577
-8793
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

606 files changed

+10577
-8793
lines changed

.editorconfig

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
indent_size = 2
9+
indent_style = space
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true
12+
13+
[*.md]
14+
trim_trailing_whitespace = false

.github/workflows/jekyll.yml

+56-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,64 @@
1-
name: Build and deploy Jekyll site to GitHub Pages
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
28

39
on:
10+
# Runs on pushes targeting the default branch
411
push:
5-
branches: [ master ]
12+
branches: ["master"]
13+
14+
# Allows you to run this workflow manually from the Actions tab
15+
workflow_dispatch:
16+
17+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
18+
permissions:
19+
contents: read
20+
pages: write
21+
id-token: write
22+
23+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
24+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
25+
concurrency:
26+
group: "pages"
27+
cancel-in-progress: false
628

729
jobs:
8-
github-pages:
30+
# Build job
31+
build:
932
runs-on: ubuntu-latest
1033
steps:
11-
- uses: actions/checkout@v2
12-
- uses: helaili/jekyll-action@v2
34+
- name: Checkout
35+
uses: actions/checkout@v4
36+
- name: Setup Ruby
37+
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
1338
with:
14-
token: ${{ secrets.GITHUB_TOKEN }}
39+
ruby-version: '3.1' # Not needed with a .ruby-version file
40+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
41+
cache-version: 0 # Increment this number if you need to re-download cached gems
42+
- name: Setup Pages
43+
id: pages
44+
uses: actions/configure-pages@v4
45+
- name: Build with Jekyll
46+
# Outputs to the './_site' directory by default
47+
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
48+
env:
49+
JEKYLL_ENV: production
50+
- name: Upload artifact
51+
# Automatically uploads an artifact from the './_site' directory by default
52+
uses: actions/upload-pages-artifact@v3
53+
54+
# Deployment job
55+
deploy:
56+
environment:
57+
name: github-pages
58+
url: ${{ steps.deployment.outputs.page_url }}
59+
runs-on: ubuntu-latest
60+
needs: build
61+
steps:
62+
- name: Deploy to GitHub Pages
63+
id: deployment
64+
uses: actions/deploy-pages@v4

.gitignore

+9-29
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,10 @@
1-
# OS X
1+
_site
2+
.sass-cache
23
.DS_Store
3-
4-
# Jekyll build
5-
/_site/
6-
.jekyll-metadata
7-
#Gemfile.lock
8-
9-
# webstorm
10-
.idea/
11-
12-
# others
13-
*.swp
14-
15-
# site build
16-
*.gem
17-
*.rbc
18-
.bundle
19-
.config
20-
coverage
21-
InstalledFiles
22-
lib/bundler/man
23-
pkg
24-
rdoc
25-
spec/reports
26-
test/tmp
27-
test/version_tmp
28-
tmp
29-
vendor
30-
Gemfile.lock
4+
.bower_components
5+
.idea
6+
node_modules
7+
# Ignore the config file that's used for gh-pages.
8+
_config.gh-pages.yml
9+
.jekyll-cache
10+
.vscode

.travis.yml

-22
This file was deleted.

0 commit comments

Comments
 (0)