Skip to content

Commit

Permalink
添加网盘维护通知
Browse files Browse the repository at this point in the history
  • Loading branch information
Co-ding-Man committed Jan 5, 2025
1 parent b628ef8 commit 991c2e8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/course-single.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,10 @@ jobs:
echo >> "./content/docs/${semester}/${line}.md"
echo "## 资料下载" >> "./content/docs/${semester}/${line}.md"
echo >> "./content/docs/${semester}/${line}.md"
cat scripts/temp_notice.txt >> "./content/docs/${semester}/${line}.md"
cat scripts/netdisk_notice.txt >> "./content/docs/${semester}/${line}.md"
echo >> "./content/docs/${semester}/${line}.md"
cat result_links.txt >> "./content/docs/${semester}/${line}.md"
echo >> "./content/docs/${semester}/${line}.md"
echo "如果你是校内学生,可移步至 <a href='https://open.osa.moe/openauto/${line}'>open.osa.moe</a> 查看本门课程的电子书、课件和实验软件等。" >> "./content/docs/${semester}/${line}.md"
echo >> "./content/docs/${semester}/${line}.md"
cat scripts/sponsor.txt >> "./content/docs/${semester}/${line}.md"
echo >> "./content/docs/${semester}/${line}.md"
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/course.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -329,13 +329,11 @@ jobs:
echo >> "./content/docs/${semester}/${line}.md"
echo "## 资料下载" >> "./content/docs/${semester}/${line}.md"
echo >> "./content/docs/${semester}/${line}.md"
cat scripts/temp_notice.txt >> "./content/docs/${semester}/${line}.md"
cat scripts/netdisk_notice.txt >> "./content/docs/${semester}/${line}.md"
echo >> "./content/docs/${semester}/${line}.md"
python scripts/gen_links.py HITSZ-OpenAuto ${line} ${{ secrets.PERSONAL_ACCESS_TOKEN }}
cat result.txt >> "./content/docs/${semester}/${line}.md"
echo >> "./content/docs/${semester}/${line}.md"
echo "如果你是校内学生,可移步至 <a href='https://open.osa.moe/openauto/${line}'>open.osa.moe</a> 查看本门课程的电子书、课件和实验软件等。" >> "./content/docs/${semester}/${line}.md"
echo >> "./content/docs/${semester}/${line}.md"
cat scripts/sponsor.txt >> "./content/docs/${semester}/${line}.md"
echo >> "./content/docs/${semester}/${line}.md"
done
Expand Down
5 changes: 5 additions & 0 deletions scripts/netdisk_notice.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
如果你是校内学生,可点击如下「内网网盘」按钮查看本门课程的电子书、课件和实验软件等。

{{< callout type="info" >}}
注意,内网网盘([open.osa.moe](https://open.osa.moe/openauto))正在维护优化中。具体时间为 2024 年 1 月 5 日 23:59 至 2024 年 1 月 10 日 23:59。
{{< /callout >}}
3 changes: 0 additions & 3 deletions scripts/temp_notice.txt

This file was deleted.

0 comments on commit 991c2e8

Please sign in to comment.