Skip to content

Commit

Permalink
switch to Cloudflare Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
geniucker-dev committed Apr 6, 2024
1 parent e51c15c commit be72f57
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 22 deletions.
27 changes: 6 additions & 21 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,10 @@ jobs:
- name: Update dir and build
run: python3 .github/scripts/build.py

- name: Upload
uses: actions/upload-pages-artifact@v3
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
path: site


deploy:
needs: build

permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: zjuintl-icicles
directory: site
6 changes: 6 additions & 0 deletions MATH221 & MATH231/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# MATH221 & MATH231

MATH221 和 MATH231 的难度不算大(对比老白的 MATH241),231可能略微难一些

电子课本:

https://geniucker.lanzouo.com/b0izdvh6b

密码:81kr
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Issue、PR、纠错、资料、选课/考试攻略,完全欢迎!

或者也可以直接附加在 Issue 中,由维护者进行添加。

对于教师的评价请一律使用姓名拼音首字母缩写;至于教师提供的课件就不用上传了,因为每年说不定会有更新的嘛。**由于 git 的性质,只适合放小文件,所以对于大文件请尽量提供链接,而不是直接上传到仓库中****请勿**上传大于 50MB 的文件。可以考虑上传网盘并附加链接(**禁百度云**),如果每个文件都小于 100MB ,推荐 **[蓝奏云](https://www.lanzou.com/)**,免费且快速
对于教师的评价请一律使用姓名拼音首字母缩写;至于教师提供的课件就不用上传了,因为每年说不定会有更新的嘛。**由于 git 的性质,只适合放小文件,所以对于大文件请尽量提供链接,而不是直接上传到仓库中****请勿**上传大于 25MB 的文件。可以考虑上传网盘并附加链接(**禁百度云**),如果每个文件都小于 100MB ,推荐 **[蓝奏云](https://www.lanzou.com/)**,免费且快速

由于本项目体积很大,故可以采用在Github Web端直接上传的方式,具体操作如下:

Expand Down

0 comments on commit be72f57

Please sign in to comment.