Skip to content

Commit a121cef

Browse files
committed
feat: disable jekyll
1 parent b1508f2 commit a121cef

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/deploy.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: Deploy to GitHub Pages
22

33
on:
4-
# Trigger the workflow every time you push to the `main` branch
5-
# Using a different branch name? Replace `main` with your branch’s name
4+
# 每次推送到 `main` 分支时触发这个“工作流程”
5+
# 如果你使用了别的分支名,请按需将 `main` 替换成你的分支名
66
push:
7-
branches: [main]
8-
# Allows you to run this workflow manually from the Actions tab on GitHub.
7+
branches: [ main ]
8+
# 允许你在 GitHub 上的 Actions 标签中手动触发此“工作流程”
99
workflow_dispatch:
1010

11-
# Allow this job to clone the repo and create a page deployment
11+
# 允许 job 克隆 repo 并创建一个 page deployment
1212
permissions:
1313
contents: read
1414
pages: write
@@ -20,12 +20,12 @@ jobs:
2020
steps:
2121
- name: Checkout your repository using git
2222
uses: actions/checkout@v4
23-
- name: Install, build, and upload your site output
24-
uses: withastro/action@v4
23+
- name: Install, build, and upload your site
24+
uses: withastro/action@v3
2525
# with:
26-
# path: . # The root location of your Astro project inside the repository. (optional)
27-
# node-version: 22 # The specific version of Node that should be used to build your site. Defaults to 22. (optional)
28-
# package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
26+
# path: . # 存储库中 Astro 项目的根位置。(可选)
27+
# node-version: 20 # 用于构建站点的特定 Node.js 版本,默认为 20。(可选)
28+
# package-manager: pnpm@latest # 应使用哪个 Node.js 包管理器来安装依赖项和构建站点。会根据存储库中的 lockfile 自动检测。(可选)
2929

3030
deploy:
3131
needs: build

.nojekyll

Whitespace-only changes.

0 commit comments

Comments
 (0)