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

1 #57

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open

1 #57

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
76a2ab7
Update _config.yml
QianEric Feb 25, 2025
218652a
Update index.md
QianEric Feb 25, 2025
773066c
Create deploy.yml
QianEric Feb 25, 2025
1669075
Update _config.yml
QianEric Feb 25, 2025
fd51d85
Update index.md
QianEric Feb 26, 2025
a309fca
Create new.md
QianEric Feb 26, 2025
14a3d0b
Update index.md
QianEric Feb 26, 2025
51e9ca5
Update index.md
QianEric Feb 26, 2025
f67e31b
Create 1.md
QianEric Feb 26, 2025
35d8f44
Update and rename new.md to mdfile.md
QianEric Feb 26, 2025
7f6dec8
Update index.md
QianEric Feb 26, 2025
b3ffbdf
Create jzip.md
QianEric Feb 26, 2025
4802f52
Update mdfile.md
QianEric Feb 26, 2025
bc7df92
Update mdfile.md
QianEric Feb 26, 2025
e32998e
Update _config.yml
QianEric Feb 26, 2025
71a4ebf
Update index.md
QianEric Feb 26, 2025
70ec45e
Update _config.yml
QianEric Feb 26, 2025
698616d
Update index.md
QianEric Feb 27, 2025
b914fea
Update index.md
QianEric Feb 27, 2025
802bc1a
Create readme.md
QianEric Feb 27, 2025
7dd6c08
Add files via upload
QianEric Feb 27, 2025
5cd391f
Update index.md
QianEric Feb 27, 2025
bf9173c
Update index.md
QianEric Feb 27, 2025
76ab6cb
Update jzip.md
QianEric Feb 27, 2025
8179f93
Delete mdfile/1.md
QianEric Feb 27, 2025
a9af633
Update jzip.md
QianEric Feb 27, 2025
5fc874c
Delete another-page.md
QianEric Feb 27, 2025
bbd9263
Update mdfile.md
QianEric Feb 27, 2025
aa7c5b7
Update jzip.md
QianEric Feb 27, 2025
65e84dd
Update jzip.md
QianEric Feb 27, 2025
12b4219
Update jzip.md
QianEric Feb 27, 2025
15341be
Delete .github/workflows/ci.yaml
QianEric Feb 27, 2025
89b422b
Update default.html
QianEric Feb 27, 2025
83214a7
Update default.html
QianEric Feb 27, 2025
948359c
Update index.md
QianEric Feb 27, 2025
50011ea
Update index.md
QianEric Feb 27, 2025
eebfb11
Add files via upload
QianEric Feb 27, 2025
4088305
Update mdfile.md
QianEric Feb 27, 2025
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
18 changes: 0 additions & 18 deletions .github/workflows/ci.yaml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Deploy

on:
push:
branches:
- master # 监听 'main' 分支的推送

jobs:
deploy:
runs-on: ubuntu-latest # 使用最新的 Ubuntu 环境

steps:
- name: Checkout repository
uses: actions/checkout@v3 # 克隆代码到工作目录

- name: Set up Node.js (如果是 Node.js 项目)
uses: actions/setup-node@v3
with:
node-version: '16' # 设置 Node.js 版本

- name: Install dependencies
run: npm install # 安装依赖 (根据项目不同调整命令)

- name: Build project (如果有构建步骤)
run: npm run build # 构建项目

- name: Deploy to server
run: |
# 将部署脚本添加到此处,假设你有 SSH 权限和服务器上的设置
ssh -i ${{ secrets.SSH_PRIVATE_KEY }} user@server_address 'bash /path/to/deploy_script.sh'
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
6 changes: 3 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
title: Midnight theme
description: Midnight is a theme for GitHub Pages.
title: qianeric's blog
description: Made by my brother and me.
show_downloads: true
google_analytics:
theme: jekyll-theme-midnight
theme: jekyll-theme-midnight
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h1>{{ site.title | default: site.github.repository_name }}</h1>
<p>{{ site.description | default: site.github.project_tagline }}</p>
<hr>
<span class="credits left">Project maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></span>
<span class="credits right">Hosted on GitHub Pages &mdash; Theme by <a href="https://twitter.com/mattgraham">mattgraham</a></span>
<span class="credits right">Hosted on GitHub Pages &mdash; My twitter <a href="https://x.com/xiaochengfozhon">小乘佛众</a></span>
</div>

{{ content }}
Expand Down
9 changes: 0 additions & 9 deletions another-page.md

This file was deleted.

117 changes: 10 additions & 107 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,122 +2,25 @@
layout: default
---

Text can be **bold**, _italic_, or ~~strikethrough~~.
# Hello

[Link to another page](./another-page.html).
您好,欢迎来到我的blog,您可以在这查看我的一些基本信息

There should be whitespace between paragraphs.
列表

There should be whitespace between paragraphs. We recommend including a README, or a file with information about your project.
[mdfile](./mdfile.html).

# Header 1

This is a normal paragraph following a header. GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.

## Header 2

> This is a blockquote following a header.
>
> When something is important enough, you do it even if the odds are not in your favor.

### Header 3

```js
// Javascript code with syntax highlighting.
var fun = function lang(l) {
dateformat.i18n = require('./lang/' + l)
return true;
}
```

```ruby
# Ruby code with syntax highlighting
GitHubPages::Dependencies.gems.each do |gem, version|
s.add_dependency(gem, "= #{version}")
end
```

#### Header 4

* This is an unordered list following a header.
* This is an unordered list following a header.
* This is an unordered list following a header.

##### Header 5

1. This is an ordered list following a header.
2. This is an ordered list following a header.
3. This is an ordered list following a header.

###### Header 6

| head1 | head two | three |
|:-------------|:------------------|:------|
| ok | good swedish fish | nice |
| out of stock | good and plenty | nice |
| ok | good `oreos` | hmm |
| ok | good `zoute` drop | yumm |

### There's a horizontal rule below this.

* * *

### Here is an unordered list:

* Item foo
* Item bar
* Item baz
* Item zip

### And an ordered list:

1. Item one
1. Item two
1. Item three
1. Item four

### And a nested list:

- level 1 item
- level 2 item
- level 2 item
- level 3 item
- level 3 item
- level 1 item
- level 2 item
- level 2 item
- level 2 item
- level 1 item
- level 2 item
- level 2 item
- level 1 item

### Small image
敬请期待

![Octocat](https://github.githubassets.com/images/icons/emoji/octocat.png)

### Large image

![Branching](https://guides.github.com/activities/hello-world/branching.png)


### Definition lists can be used with HTML syntax.

<dl>
<dt>Name</dt>
<dd>Godzilla</dd>
<dd>QianEric</dd>
<dt>Born</dt>
<dd>1952</dd>
<dd>2006.05.11</dd>
<dt>Birthplace</dt>
<dd>Japan</dd>
<dt>Color</dt>
<dd>Green</dd>
<dd>Chinese</dd>
<dt>X</dt>
<dd>@xiaochengfozhon</dd>
</dl>

```
Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this.
```

```
The final element.
```
7 changes: 7 additions & 0 deletions mdfile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
二级列表

[zip在线压缩](./mdfile/jzip.html).

[导图在线制作](./mdfile/daotu.html).

[back](./)
Loading