Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request #113

Open
wants to merge 69 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
7855a38
update
xqiangx1991 Nov 7, 2019
d12a896
update
xqiangx1991 Nov 7, 2019
1c6774e
add hexo
xqiangx1991 Nov 8, 2019
6f30f4a
mv READMe.md
xqiangx1991 Nov 8, 2019
302d8e5
update
xqiangx1991 Nov 8, 2019
2f08a1e
update
xqiangx1991 Nov 8, 2019
34a8527
Create hexo.yml
Nov 8, 2019
a2aab61
update
xqiangx1991 Nov 8, 2019
276325a
Merge branch 'master' of https://github.com/JoelTsui/joeltsui.github.io
xqiangx1991 Nov 8, 2019
154efbd
remove package-lock.json
xqiangx1991 Nov 8, 2019
536063a
remove package-lock.json
xqiangx1991 Nov 8, 2019
18bed63
add .gitignore
xqiangx1991 Nov 8, 2019
09d7d7c
add .gitignore
xqiangx1991 Nov 8, 2019
7e3b222
修复hexo generate 报错
xqiangx1991 Nov 8, 2019
45b8ffc
change action yml
xqiangx1991 Nov 8, 2019
c2a8d8d
change package.json
xqiangx1991 Nov 8, 2019
a74d488
要把生成文件从gitignore中去掉,不然没法生成
xqiangx1991 Nov 8, 2019
2200288
append .gitignore
xqiangx1991 Nov 8, 2019
bc88f1f
action yml
xqiangx1991 Nov 9, 2019
9e717d3
action yml
xqiangx1991 Nov 9, 2019
f9cd5f7
_config.yml
xqiangx1991 Nov 9, 2019
ebee9e6
add gitignore
xqiangx1991 Nov 9, 2019
4739830
update
xqiangx1991 Nov 9, 2019
61b8f43
update
xqiangx1991 Nov 9, 2019
af3df10
update
xqiangx1991 Nov 9, 2019
264227a
update
Nov 9, 2019
f5d9658
update
Nov 9, 2019
3cf7a7c
update
Nov 9, 2019
5f2969f
update
Nov 9, 2019
e5aaf96
update
Nov 9, 2019
d28a836
add math
Nov 9, 2019
f8abff0
add math
Nov 9, 2019
295d976
add .gitignore
Nov 9, 2019
60226a3
update
Nov 9, 2019
bdf6cc6
update
Nov 9, 2019
dc72285
update
Nov 9, 2019
1711250
rename
Nov 10, 2019
c922f1e
change image utl
Nov 10, 2019
e2df816
change image url
Nov 10, 2019
897d0c3
change image url
Nov 10, 2019
7cd9f27
update
Nov 10, 2019
9da2cad
update
Nov 10, 2019
ac146a4
update
Nov 10, 2019
5dbe02b
update date
Nov 10, 2019
af71113
update date
Nov 10, 2019
9391d79
add comments
Nov 10, 2019
366fe85
add comments
Nov 10, 2019
2baec9f
add icon
Nov 10, 2019
89d02bb
增加网站统计
Nov 10, 2019
ec53f26
增加网站统计
Nov 10, 2019
393a26d
增加阅读量
Nov 10, 2019
58826da
增加草稿
Nov 10, 2019
4b79236
增加草稿
Nov 10, 2019
ab21085
增加第七章
Nov 17, 2019
4392bd8
增加第九章
Nov 17, 2019
806f149
增加第五章
Nov 17, 2019
dbc7171
增加第六章
Nov 19, 2019
2d8a810
python深度学习笔记
Nov 25, 2019
c85eac9
深度学习模型及应用详解 第二章
Nov 25, 2019
994c66c
深度学习模型及应用详解 第三章
Nov 28, 2019
edb2498
深度学习模型及应用详解 第三章
Nov 28, 2019
1adfb2a
深度学习模型及应用详解 第四章
Nov 28, 2019
3e362b1
深度学习模型及应用详解 第五章
Nov 28, 2019
1c93566
深度学习模型及应用详解 第六章
Nov 30, 2019
f503292
深度学习模型及应用详解 第七章
Nov 30, 2019
92ffdb1
深度学习模型及应用详解
Dec 1, 2019
e47f0c0
fix
Dec 1, 2019
6c5392d
换图片url
Dec 3, 2019
c8d2b66
update
Dec 3, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/hexo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Hexo Blog Deploy

on: [push]

jobs:
build:

runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- name: Prepare Node.js
uses: actions/setup-node@v1
with:
node-version: 10.x
- name: Generate pages
run: |
npm install
./node_modules/hexo/bin/hexo clean
./node_modules/hexo/bin/hexo generate
echo "hexo generate done!"
- name: Deploy
env:
GITHUB_TOKEN: ${{ secrets.BLOG_DEPLOY }}
run: |
REPOSITORY_PATH="https://x-access-token:${GITHUB_TOKEN}@github.com/joeltsui/joeltsui.github.io.git"

cd public/
git init
git config user.name "${GITHUB_ACTION}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"

git remote add origin "${REPOSITORY_PATH}"
git add --all

echo "Start commit"
git commit --allow-empty -m "Deploy to master"

echo "Start push"
git push origin master --force

echo "Finish deploy"

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
node_modules
tmp
source/CNAME
package-lock.json
db.json
public
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A brand new default theme for [[Hexo](https://hexo.io)]. [Preview](http://cofess.github.io/) | [中文说明文档](README.cn.md) | [iconfont](http://blog.cofess.com/hexo-theme-pure/iconfont/demo_fontclass.html)

![](screenshot/pure.png)
![](themes/pure/screenshot/pure.png)

## Features

Expand All @@ -14,13 +14,13 @@ A brand new default theme for [[Hexo](https://hexo.io)]. [Preview](http://cofes

## Skins

![](screenshot/pure-theme-black.png)
![](themes/pure/screenshot/pure-theme-black.png)

![](screenshot/pure-theme-blue.png)
![](themes/pure/screenshot/pure-theme-blue.png)

![](screenshot/pure-theme-green.png)
![](themes/pure/screenshot/pure-theme-green.png)

![](screenshot/pure-theme-purple.png)
![](themes/pure/screenshot/pure-theme-purple.png)

## Appearance

Expand Down
Loading