Compare commits

...

8 Commits

Author SHA1 Message Date
3cf19ed077 删除换行符
All checks were successful
Checking-doc / build-and-deploy (pull_request) Successful in 2m17s
2025-07-03 08:30:06 +00:00
8d453fc3b4 添加换行符
All checks were successful
Checking-doc / build-and-deploy (pull_request) Successful in 2m18s
2025-07-03 08:14:32 +00:00
171dba2d05 Merge pull request '添加 2022 级特刊工作人员名单' (#8) from doc/add-2022-staffs into main
Reviewed-on: http://gitea.lionhao.top/jjnwxs/jingji_spbook/pulls/8
2025-05-02 00:52:24 +00:00
a244e53814 添加 2022 级特刊工作人员名单
All checks were successful
Checking-doc / build-and-deploy (pull_request) Successful in 2m16s
deploying-doc / build-and-deploy (pull_request) Successful in 2m5s
2025-05-02 00:48:40 +00:00
6e9502614c Merge pull request 'Revert "添加文件变更检查步骤以决定是否执行构建和部署"' (#7) from config/remove-if-workflow into main
Reviewed-on: http://gitea.lionhao.top/jjnwxs/jingji_spbook/pulls/7
2025-04-29 09:17:53 +00:00
dc96fca00d Revert "添加文件变更检查步骤以决定是否执行构建和部署"
All checks were successful
Checking-doc / build-and-deploy (pull_request) Successful in 2m12s
deploying-doc / build-and-deploy (pull_request) Successful in 3m17s
This reverts commit 670e061545.
2025-04-29 17:08:13 +08:00
fb9ed941d0 Merge pull request 'improve/modified-config' (#6) from improve/modified-config into main
All checks were successful
deploying-doc / build-and-deploy (push) Successful in 2m8s
Reviewed-on: http://gitea.lionhao.top/jjnwxs/jingji_spbook/pulls/6
2025-04-27 02:43:12 +00:00
18f99870e3 在部署后自动将预览链接评论到拉取请求中
All checks were successful
Checking-doc / check-file-changes (pull_request) Successful in 9s
Checking-doc / build-and-deploy (pull_request) Successful in 2m16s
deploying-doc / build-and-deploy (pull_request) Successful in 2m6s
2025-04-27 10:38:07 +08:00
4 changed files with 62 additions and 32 deletions

View File

@@ -6,42 +6,12 @@ on:
types: [opened,synchronize]
jobs:
check-file-changes:
runs-on: ubuntu-latest
outputs:
should_run: ${{ steps.filter.outputs.should_run }}
steps:
- name: 🚚 Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 📑 Check changed files
id: filter
run: |
CHANGED_FILES=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} || git diff --name-only HEAD~1 HEAD)
IMPORTANT_FILE_CHANGED=false
for file in $CHANGED_FILES; do
if [[ $file =~ \.(ts|yaml|json|js)$ ]]; then
IMPORTANT_FILE_CHANGED=true
break
fi
done
if [ "$IMPORTANT_FILE_CHANGED" = true ]; then
echo "should_run=true" >> $GITHUB_OUTPUT
else
echo "should_run=false" >> $GITHUB_OUTPUT
fi
build-and-deploy:
needs: check-file-changes
if: ${{ needs.check-file-changes.outputs.should_run == 'true' || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
pull-requests: write
steps:
- name: 🚚 Checkout
uses: actions/checkout@v4
@@ -66,8 +36,26 @@ jobs:
run: pnpm run docs:build
- name: 🚀 Deploy to Cloudflare Pages
id: deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy ./src/.vuepress/dist --project-name=jingji-spbook
command: pages deploy ./src/.vuepress/dist --project-name=jingji-spbook
- name: 💬 Comment on PR
if: github.event_name == 'pull_request'
uses: actions/github-script@v7
with:
script: |
const deployUrl = process.env.DEPLOY_URL;
const commentBody = `🚀 Documentation preview deployed to: [${deployUrl}](${deployUrl})`;
github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: commentBody
});
env:
DEPLOY_URL: ${{ steps.deploy.outputs.deployment-url }}

View File

@@ -18,26 +18,36 @@ index: false
## 2021 级特刊制作人员名单
22级社长唐宁谦编辑部
22级副社韦文慧美编部、张奕慧外交部
### 编辑部
22级纪晓凡
23级邓杰升、龙俊燕、陈亚诺、范佳鑫、周思哲、贲黄然、秦艺宁、唐文萱、蒋安雅
### 美编部
21级王浩
22级陶盈妍、古蕙宁、刘云镕、张宁静、陆志澎、欧阳月雪
23级王诗语、伍扬翼、黄翔敏、黄韵涵、蒋丽琴
### 外交部
22级黄睿颖、刘婧蕾、刘宇佟、何静瑶、姚乐伊
23级秦语馨、唐智东
封面绘制:欧阳月雪
封面排版:韦文慧
策划编辑:唐宁谦
文本编辑:王浩、纪晓凡
排版编辑:韦文慧、陶盈妍
采访编辑:黄睿颖
初审:唐宁谦 复审:彭宇嘉 终审:白法琳

View File

@@ -6,3 +6,33 @@ index: false
因篇幅受限未能编入特刊的部分可以在此查看。
如有发现本班内容存在错误/缺漏,请邮件联系 szhhlionhao@qq.com
## 修订日志
### 2025-5-1
- 添加 2022 级高三特刊 staffs
## 2022级特刊制作人员名单
23级社长陈亚诺编辑部
23级副社王诗语美编部、秦语馨外交部
### 编辑部
23级周思哲、蒋安雅、秦艺宁、邓雅欣、唐文萱、范佳鑫、贲黄然
24级黄子涵、胡雅茹、周梦琪、蒋宜含、陶霭帆
### 美编部
21级王浩、文淇乐、龚湘媛、侯李李
22级陶盈妍、刘云镕
23级伍扬翼、黄韵涵、蒋丽琴、李沛宸、黄翔敏、李文芳临桂
### 外交部
23级胡奥婷、林晖扬、李科儒
24级李欣雨、郑颖
封面:伍扬翼
分隔页排版:伍扬翼

View File

@@ -5,6 +5,8 @@ index: false
因篇幅受限未能编入特刊的部分可以在此查看。
## 近期更新
### 2025-5-1
- 添加 2022 级高三特刊 staffs
### 2025.4.25