Skip to content

Commit f7fbe51

Browse files
committed
add jekyll.yml
Signed-off-by: husharp <[email protected]>
1 parent fde46f0 commit f7fbe51

File tree

9 files changed

+69
-106
lines changed

9 files changed

+69
-106
lines changed

.github/workflows/jekyll.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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+
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
6+
name: Deploy Jekyll site to Pages
7+
on:
8+
# Runs on pushes targeting the default branch
9+
push:
10+
branches: ["master"]
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
14+
permissions:
15+
contents: read
16+
pages: write
17+
id-token: write
18+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: false
23+
jobs:
24+
# Build job
25+
build:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v4
30+
- name: Setup Ruby
31+
uses: ruby/setup-ruby@v1
32+
with:
33+
ruby-version: '3.3' # Not needed with a `.ruby-version` or `.tool-versions`
34+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
35+
- name: Setup Pages
36+
id: pages
37+
uses: actions/configure-pages@v4
38+
- name: Build with Jekyll
39+
# Outputs to the './_site' directory by default
40+
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
41+
env:
42+
JEKYLL_ENV: production
43+
- name: Upload artifact
44+
# Automatically uploads an artifact from the './_site' directory by default
45+
uses: actions/upload-pages-artifact@v3
46+
# Deployment job
47+
deploy:
48+
environment:
49+
name: github-pages
50+
url: ${{ steps.deployment.outputs.page_url }}
51+
runs-on: ubuntu-latest
52+
needs: build
53+
steps:
54+
- name: Deploy to GitHub Pages
55+
id: deployment
56+
uses: actions/deploy-pages@v4

Gemfile.lock

Lines changed: 0 additions & 92 deletions
This file was deleted.

_posts/2024-12-23-2024-retrospect.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ side_by_side: comment
99
* content
1010
{:toc}
1111

12-
1312
[NOTE] 信念之网:通过观察(实指法)传递信念,信念交织组成了一张巨大的信念之网,从内到外:自明性(逻辑真理)、常识、证言(权威)、假说。 ——《蒯因著作集(第5卷)》
1413

1514
今年总共读了 39 本书,看了 99 部影视,听了 600h+ 播客。在此记录分享一些个人喜爱的作品,夹杂着一些联想来帮助强化个人*信念之网*与记忆。

_site/feed.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2024-12-23T20:51:25+01:00</updated><id>http://localhost:4000/feed.xml</id><entry><title type="html">阅读与观影:2024 片段</title><link href="http://localhost:4000/life/2024/12/23/2024-retrospect.html" rel="alternate" type="text/html" title="阅读与观影:2024 片段" /><published>2024-12-23T13:51:28+01:00</published><updated>2024-12-23T13:51:28+01:00</updated><id>http://localhost:4000/life/2024/12/23/2024-retrospect</id><content type="html" xml:base="http://localhost:4000/life/2024/12/23/2024-retrospect.html"><![CDATA[<ul id="markdown-toc">
1+
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2024-12-23T20:56:36+01:00</updated><id>http://localhost:4000/feed.xml</id><entry><title type="html">阅读与观影:2024 片段</title><link href="http://localhost:4000/life/2024/12/23/2024-retrospect.html" rel="alternate" type="text/html" title="阅读与观影:2024 片段" /><published>2024-12-23T13:51:28+01:00</published><updated>2024-12-23T13:51:28+01:00</updated><id>http://localhost:4000/life/2024/12/23/2024-retrospect</id><content type="html" xml:base="http://localhost:4000/life/2024/12/23/2024-retrospect.html"><![CDATA[<ul id="markdown-toc">
22
<li><a href="#政治与社会" id="markdown-toc-政治与社会">政治与社会</a></li>
33
<li><a href="#历史" id="markdown-toc-历史">历史</a> <ul>
44
<li><a href="#德国" id="markdown-toc-德国">德国</a></li>

_site/sitemap.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,23 +38,23 @@
3838
</url>
3939
<url>
4040
<loc>http://localhost:4000/subtopics/collections/quote.html</loc>
41-
<lastmod>2024-12-23T20:51:25+01:00</lastmod>
41+
<lastmod>2024-12-23T20:56:36+01:00</lastmod>
4242
</url>
4343
<url>
4444
<loc>http://localhost:4000/subtopics/collections/tools.html</loc>
45-
<lastmod>2024-12-23T20:51:25+01:00</lastmod>
45+
<lastmod>2024-12-23T20:56:36+01:00</lastmod>
4646
</url>
4747
<url>
4848
<loc>http://localhost:4000/subtopics/os.html</loc>
49-
<lastmod>2024-12-23T20:51:25+01:00</lastmod>
49+
<lastmod>2024-12-23T20:56:36+01:00</lastmod>
5050
</url>
5151
<url>
5252
<loc>http://localhost:4000/subtopics/polymorphism.html</loc>
5353
<lastmod>2021-08-20T03:10:19+02:00</lastmod>
5454
</url>
5555
<url>
5656
<loc>http://localhost:4000/topics/computer-system.html</loc>
57-
<lastmod>2024-12-23T20:51:25+01:00</lastmod>
57+
<lastmod>2024-12-23T20:56:36+01:00</lastmod>
5858
</url>
5959
<url>
6060
<loc>http://localhost:4000/blogs.html</loc>

_site/subtopics/collections/quote.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@
4343
<link rel="canonical" href="http://localhost:4000/subtopics/collections/quote.html" />
4444
<meta property="og:url" content="http://localhost:4000/subtopics/collections/quote.html" />
4545
<meta property="og:type" content="article" />
46-
<meta property="article:published_time" content="2024-12-23T20:51:25+01:00" />
46+
<meta property="article:published_time" content="2024-12-23T20:56:36+01:00" />
4747
<meta name="twitter:card" content="summary" />
4848
<meta property="twitter:title" content="Quotations" />
4949
<script type="application/ld+json">
50-
{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2024-12-23T20:51:25+01:00","datePublished":"2024-12-23T20:51:25+01:00","description":"# Created: 2023-04-28; Modified: 2023-04-28","headline":"Quotations","mainEntityOfPage":{"@type":"WebPage","@id":"http://localhost:4000/subtopics/collections/quote.html"},"url":"http://localhost:4000/subtopics/collections/quote.html"}</script>
50+
{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2024-12-23T20:56:36+01:00","datePublished":"2024-12-23T20:56:36+01:00","description":"# Created: 2023-04-28; Modified: 2023-04-28","headline":"Quotations","mainEntityOfPage":{"@type":"WebPage","@id":"http://localhost:4000/subtopics/collections/quote.html"},"url":"http://localhost:4000/subtopics/collections/quote.html"}</script>
5151
<!-- End Jekyll SEO tag -->
5252

5353
</head>

_site/subtopics/collections/tools.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@
4343
<link rel="canonical" href="http://localhost:4000/subtopics/collections/tools.html" />
4444
<meta property="og:url" content="http://localhost:4000/subtopics/collections/tools.html" />
4545
<meta property="og:type" content="article" />
46-
<meta property="article:published_time" content="2024-12-23T20:51:25+01:00" />
46+
<meta property="article:published_time" content="2024-12-23T20:56:36+01:00" />
4747
<meta name="twitter:card" content="summary" />
4848
<meta property="twitter:title" content="Tools" />
4949
<script type="application/ld+json">
50-
{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2024-12-23T20:51:25+01:00","datePublished":"2024-12-23T20:51:25+01:00","description":"delta: A viewer for git and diff output","headline":"Tools","mainEntityOfPage":{"@type":"WebPage","@id":"http://localhost:4000/subtopics/collections/tools.html"},"url":"http://localhost:4000/subtopics/collections/tools.html"}</script>
50+
{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2024-12-23T20:56:36+01:00","datePublished":"2024-12-23T20:56:36+01:00","description":"delta: A viewer for git and diff output","headline":"Tools","mainEntityOfPage":{"@type":"WebPage","@id":"http://localhost:4000/subtopics/collections/tools.html"},"url":"http://localhost:4000/subtopics/collections/tools.html"}</script>
5151
<!-- End Jekyll SEO tag -->
5252

5353
</head>

_site/subtopics/os.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@
4343
<link rel="canonical" href="http://localhost:4000/subtopics/os.html" />
4444
<meta property="og:url" content="http://localhost:4000/subtopics/os.html" />
4545
<meta property="og:type" content="article" />
46-
<meta property="article:published_time" content="2024-12-23T20:51:25+01:00" />
46+
<meta property="article:published_time" content="2024-12-23T20:56:36+01:00" />
4747
<meta name="twitter:card" content="summary" />
4848
<meta property="twitter:title" content="OS" />
4949
<script type="application/ld+json">
50-
{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2024-12-23T20:51:25+01:00","datePublished":"2024-12-23T20:51:25+01:00","description":"# Created: 2023-04-29; Modified: 2023-04-29","headline":"OS","mainEntityOfPage":{"@type":"WebPage","@id":"http://localhost:4000/subtopics/os.html"},"url":"http://localhost:4000/subtopics/os.html"}</script>
50+
{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2024-12-23T20:56:36+01:00","datePublished":"2024-12-23T20:56:36+01:00","description":"# Created: 2023-04-29; Modified: 2023-04-29","headline":"OS","mainEntityOfPage":{"@type":"WebPage","@id":"http://localhost:4000/subtopics/os.html"},"url":"http://localhost:4000/subtopics/os.html"}</script>
5151
<!-- End Jekyll SEO tag -->
5252

5353
</head>

_site/topics/computer-system.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@
4343
<link rel="canonical" href="http://localhost:4000/topics/computer-system.html" />
4444
<meta property="og:url" content="http://localhost:4000/topics/computer-system.html" />
4545
<meta property="og:type" content="article" />
46-
<meta property="article:published_time" content="2024-12-23T20:51:25+01:00" />
46+
<meta property="article:published_time" content="2024-12-23T20:56:36+01:00" />
4747
<meta name="twitter:card" content="summary" />
4848
<meta property="twitter:title" content="Computer System" />
4949
<script type="application/ld+json">
50-
{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2024-12-23T20:51:25+01:00","datePublished":"2024-12-23T20:51:25+01:00","description":"# Created: 2023-04-28; Modified: 2022-04-29","headline":"Computer System","mainEntityOfPage":{"@type":"WebPage","@id":"http://localhost:4000/topics/computer-system.html"},"url":"http://localhost:4000/topics/computer-system.html"}</script>
50+
{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2024-12-23T20:56:36+01:00","datePublished":"2024-12-23T20:56:36+01:00","description":"# Created: 2023-04-28; Modified: 2022-04-29","headline":"Computer System","mainEntityOfPage":{"@type":"WebPage","@id":"http://localhost:4000/topics/computer-system.html"},"url":"http://localhost:4000/topics/computer-system.html"}</script>
5151
<!-- End Jekyll SEO tag -->
5252

5353
</head>

0 commit comments

Comments
 (0)