Skip to content

Commit 9574d60

Browse files
committed
up
1 parent 6de43f7 commit 9574d60

File tree

4 files changed

+8
-95
lines changed

4 files changed

+8
-95
lines changed

.github/workflows/biome.yml

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

.github/workflows/build.yml

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

.github/workflows/deploy.yml

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

33
on:
4-
# 每次推送到 `main` 分支时触发这个“工作流程”
5-
# 如果你使用了别的分支名,请按需将 `main` 替换成你的分支名
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
66
push:
77
branches: [ main ]
8-
# 允许你在 GitHub 上的 Actions 标签中手动触发此“工作流程”
8+
# Allows you to run this workflow manually from the Actions tab on GitHub.
99
workflow_dispatch:
1010

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

3030
deploy:
3131
needs: build

astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default defineConfig({
3838
animationClass: "transition-swup-", // see https://swup.js.org/options/#animationselector
3939
// the default value `transition-` cause transition delay
4040
// when the Tailwind class `transition-all` is used
41-
containers: ["main", "#toc"],
41+
containers: ["main"],
4242
smoothScrolling: true,
4343
cache: true,
4444
preload: true,

0 commit comments

Comments
 (0)