-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Deploy to Github Pages | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Cache Hugo resources | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: cache-hugo-resources | ||
with: | ||
path: resources | ||
key: ${{ env.cache-name }} | ||
|
||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: "^1.17.0" | ||
- run: go version | ||
|
||
- name: Cache Go Modules | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.cache/go-build | ||
~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-go- | ||
- name: Setup Hugo | ||
uses: peaceiris/actions-hugo@v2 | ||
with: | ||
hugo-version: "latest" | ||
extended: true | ||
|
||
- name: Build | ||
run: hugo --minify --gc | ||
|
||
- name: Deploy 🚀 | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: public | ||
clean: true | ||
single-commit: true |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Update theme | ||
|
||
# Controls when the workflow will run | ||
on: | ||
schedule: | ||
# Update theme automatically everyday at 00:00 UTC | ||
- cron: "0 0 * * *" | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup Hugo | ||
uses: peaceiris/actions-hugo@v2 | ||
with: | ||
hugo-version: "latest" | ||
extended: true | ||
|
||
- name: Update theme | ||
run: hugo mod get -u github.com/CaiJimmy/hugo-theme-stack/v3 | ||
|
||
- name: Tidy go.mod, go.sum | ||
run: hugo mod tidy | ||
|
||
- name: Commit changes | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: "CI: Update theme" |
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
kurisaw.eu.org |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!doctype html><html lang=en><head><title>https://kurisaw.github.io/categories/cplusplus/</title> | ||
<link rel=canonical href=https://kurisaw.github.io/categories/cplusplus/><meta name=robots content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0; url=https://kurisaw.github.io/categories/cplusplus/"></head></html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!doctype html><html lang=en><head><title>https://kurisaw.github.io/categories/c%E7%B4%A0%E5%85%BB%E6%8F%90%E5%8D%87/</title> | ||
<link rel=canonical href=https://kurisaw.github.io/categories/c%E7%B4%A0%E5%85%BB%E6%8F%90%E5%8D%87/><meta name=robots content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0; url=https://kurisaw.github.io/categories/c%E7%B4%A0%E5%85%BB%E6%8F%90%E5%8D%87/"></head></html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!doctype html><html lang=en><head><title>https://kurisaw.github.io/categories/experience_sharing/</title> | ||
<link rel=canonical href=https://kurisaw.github.io/categories/experience_sharing/><meta name=robots content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0; url=https://kurisaw.github.io/categories/experience_sharing/"></head></html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!doctype html><html lang=en><head><title>https://kurisaw.github.io/categories/git%E7%89%88%E6%9C%AC%E6%8E%A7%E5%88%B6/</title> | ||
<link rel=canonical href=https://kurisaw.github.io/categories/git%E7%89%88%E6%9C%AC%E6%8E%A7%E5%88%B6/><meta name=robots content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0; url=https://kurisaw.github.io/categories/git%E7%89%88%E6%9C%AC%E6%8E%A7%E5%88%B6/"></head></html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!doctype html><html lang=en><head><title>https://kurisaw.github.io/categories/harmonyos/</title> | ||
<link rel=canonical href=https://kurisaw.github.io/categories/harmonyos/><meta name=robots content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0; url=https://kurisaw.github.io/categories/harmonyos/"></head></html> |
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Categories on kurisaW</title><link>https://kurisaw.github.io/categories/</link><description>Recent content in Categories on kurisaW</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Sun, 18 Feb 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://kurisaw.github.io/categories/index.xml" rel="self" type="application/rss+xml"/><item><title>RT-Thread</title><link>https://kurisaw.github.io/categories/rt-thread/</link><pubDate>Sun, 18 Feb 2024 00:00:00 +0000</pubDate><guid>https://kurisaw.github.io/categories/rt-thread/</guid><description><img src="https://kurisaw.github.io/categories/rt-thread/index.jpg" alt="Featured image of post RT-Thread" /></description></item><item><title>experience_sharing</title><link>https://kurisaw.github.io/categories/experience_sharing/</link><pubDate>Sat, 03 Feb 2024 15:00:00 +0000</pubDate><guid>https://kurisaw.github.io/categories/experience_sharing/</guid><description><img src="https://kurisaw.github.io/categories/experience_sharing/index.jpg" alt="Featured image of post experience_sharing" /></description></item><item><title>嵌入式素养提升</title><link>https://kurisaw.github.io/categories/%E5%B5%8C%E5%85%A5%E5%BC%8F%E7%B4%A0%E5%85%BB%E6%8F%90%E5%8D%87/</link><pubDate>Sat, 04 Nov 2023 00:00:00 +0000</pubDate><guid>https://kurisaw.github.io/categories/%E5%B5%8C%E5%85%A5%E5%BC%8F%E7%B4%A0%E5%85%BB%E6%8F%90%E5%8D%87/</guid><description><img src="https://kurisaw.github.io/categories/%E5%B5%8C%E5%85%A5%E5%BC%8F%E7%B4%A0%E5%85%BB%E6%8F%90%E5%8D%87/index.jpg" alt="Featured image of post 嵌入式素养提升" /></description></item><item><title>Micro_ROS</title><link>https://kurisaw.github.io/categories/micro_ros/</link><pubDate>Thu, 26 Oct 2023 00:00:00 +0000</pubDate><guid>https://kurisaw.github.io/categories/micro_ros/</guid><description><img src="https://kurisaw.github.io/categories/micro_ros/index.jpg" alt="Featured image of post Micro_ROS" /></description></item><item><title>Git版本控制</title><link>https://kurisaw.github.io/categories/git%E7%89%88%E6%9C%AC%E6%8E%A7%E5%88%B6/</link><pubDate>Mon, 09 Oct 2023 00:00:00 +0000</pubDate><guid>https://kurisaw.github.io/categories/git%E7%89%88%E6%9C%AC%E6%8E%A7%E5%88%B6/</guid><description><img src="https://kurisaw.github.io/categories/git%E7%89%88%E6%9C%AC%E6%8E%A7%E5%88%B6/index.jpg" alt="Featured image of post Git版本控制" /></description></item><item><title>Linux</title><link>https://kurisaw.github.io/categories/linux/</link><pubDate>Mon, 09 Oct 2023 00:00:00 +0000</pubDate><guid>https://kurisaw.github.io/categories/linux/</guid><description><img src="https://kurisaw.github.io/categories/linux/index.jpg" alt="Featured image of post Linux" /></description></item><item><title>Matter</title><link>https://kurisaw.github.io/categories/matter/</link><pubDate>Sun, 20 Aug 2023 00:00:00 +0000</pubDate><guid>https://kurisaw.github.io/categories/matter/</guid><description><img src="https://kurisaw.github.io/categories/matter/index.jpg" alt="Featured image of post Matter" /></description></item><item><title>NXP学习</title><link>https://kurisaw.github.io/categories/nxp%E5%AD%A6%E4%B9%A0/</link><pubDate>Sun, 23 Apr 2023 00:00:00 +0000</pubDate><guid>https://kurisaw.github.io/categories/nxp%E5%AD%A6%E4%B9%A0/</guid><description><img src="https://kurisaw.github.io/categories/nxp%E5%AD%A6%E4%B9%A0/index.jpg" alt="Featured image of post NXP学习" /></description></item><item><title>网络编程</title><link>https://kurisaw.github.io/categories/%E7%BD%91%E7%BB%9C%E7%BC%96%E7%A8%8B/</link><pubDate>Mon, 10 Apr 2023 00:00:00 +0000</pubDate><guid>https://kurisaw.github.io/categories/%E7%BD%91%E7%BB%9C%E7%BC%96%E7%A8%8B/</guid><description><img src="https://kurisaw.github.io/categories/%E7%BD%91%E7%BB%9C%E7%BC%96%E7%A8%8B/index.jpg" alt="Featured image of post 网络编程" /></description></item><item><title>HarmonyOS</title><link>https://kurisaw.github.io/categories/harmonyos/</link><pubDate>Fri, 07 Apr 2023 00:00:00 +0000</pubDate><guid>https://kurisaw.github.io/categories/harmonyos/</guid><description><img src="https://kurisaw.github.io/categories/harmonyos/index.jpg" alt="Featured image of post HarmonyOS" /></description></item><item><title>资讯</title><link>https://kurisaw.github.io/categories/%E8%B5%84%E8%AE%AF/</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate><guid>https://kurisaw.github.io/categories/%E8%B5%84%E8%AE%AF/</guid><description><img src="https://kurisaw.github.io/categories/%E8%B5%84%E8%AE%AF/index.jpg" alt="Featured image of post 资讯" /></description></item><item><title>数据结构与算法</title><link>https://kurisaw.github.io/categories/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%B8%8E%E7%AE%97%E6%B3%95/</link><pubDate>Mon, 13 Mar 2023 00:00:00 +0000</pubDate><guid>https://kurisaw.github.io/categories/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%B8%8E%E7%AE%97%E6%B3%95/</guid><description><img src="https://kurisaw.github.io/categories/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%B8%8E%E7%AE%97%E6%B3%95/index.jpg" alt="Featured image of post 数据结构与算法" /></description></item><item><title>operating_system</title><link>https://kurisaw.github.io/categories/operating_system/</link><pubDate>Thu, 10 Mar 2022 00:00:00 +0000</pubDate><guid>https://kurisaw.github.io/categories/operating_system/</guid><description><img src="https://kurisaw.github.io/categories/operating_system/index.jpg" alt="Featured image of post operating_system" /></description></item><item><title>Cplusplus</title><link>https://kurisaw.github.io/categories/cplusplus/</link><pubDate>Sun, 19 Sep 2021 00:00:00 +0000</pubDate><guid>https://kurisaw.github.io/categories/cplusplus/</guid><description><img src="https://kurisaw.github.io/categories/cplusplus/index.jpg" alt="Featured image of post Cplusplus" /></description></item><item><title>C素养提升</title><link>https://kurisaw.github.io/categories/c%E7%B4%A0%E5%85%BB%E6%8F%90%E5%8D%87/</link><pubDate>Sun, 29 Aug 2021 00:00:00 +0000</pubDate><guid>https://kurisaw.github.io/categories/c%E7%B4%A0%E5%85%BB%E6%8F%90%E5%8D%87/</guid><description><img src="https://kurisaw.github.io/categories/c%E7%B4%A0%E5%85%BB%E6%8F%90%E5%8D%87/index.jpg" alt="Featured image of post C素养提升" /></description></item></channel></rss> |
Large diffs are not rendered by default.