Skip to content

Commit e19463a

Browse files
committed
fix: migrate to life-ustc
1 parent 3453caf commit e19463a

File tree

4 files changed

+30
-31
lines changed

4 files changed

+30
-31
lines changed

.github/workflows/hugo.yaml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,57 +2,41 @@
22
name: Deploy Hugo site to Pages
33

44
on:
5-
# Runs on pushes targeting the default branch
65
push:
76
branches:
87
- main
9-
10-
# Allows you to run this workflow manually from the Actions tab
118
workflow_dispatch:
129

13-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1410
permissions:
1511
contents: read
1612
pages: write
1713
id-token: write
1814

19-
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
20-
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2115
concurrency:
2216
group: "pages"
2317
cancel-in-progress: false
2418

25-
# Default to bash
2619
defaults:
2720
run:
2821
shell: bash
2922

3023
jobs:
31-
# Build job
3224
build:
3325
runs-on: ubuntu-latest
3426
env:
3527
HUGO_VERSION: 0.124.0
3628
steps:
37-
- name: Install Hugo CLI
38-
run: |
39-
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
40-
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
41-
- name: Install Dart Sass
42-
run: sudo snap install dart-sass
4329
- name: Checkout
4430
uses: actions/checkout@v4
45-
with:
46-
submodules: recursive
47-
fetch-depth: 0
4831
- name: Setup Pages
4932
id: pages
5033
uses: actions/configure-pages@v4
51-
- name: Install Node.js dependencies
52-
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
34+
- name: Install Hugo CLI
35+
run: |
36+
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
37+
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
5338
- name: Build with Hugo
5439
env:
55-
# For maximum backward compatibility with Hugo modules
5640
HUGO_ENVIRONMENT: production
5741
HUGO_ENV: production
5842
run: |
@@ -65,7 +49,6 @@ jobs:
6549
with:
6650
path: ./public
6751

68-
# Deployment job
6952
deploy:
7053
environment:
7154
name: github-pages
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
+++
2+
title = '迁移回 Life @ USTC'
3+
date = 2025-10-25T10:00:00+08:00
4+
draft = false
5+
tags = ["Important", "iOS"]
6+
+++
7+
8+
Hi, 出于多种因素的考虑,「学在科大 iOS」将迁移回「Life @ USTC」,迁移后原「学在科大」的部分功能可能收到影响。
9+
10+
Life @ USTC 的
11+
12+
- App Store 链接:<https://apps.apple.com/us/app/life-ustc/id1660437438>
13+
14+
- TestFlight 链接:<https://testflight.apple.com/join/HIftOs4Z>
15+
16+
- QQ 反馈群:791050174
Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
+++
2-
title = '已解决 [ICP 备案问题]'
2+
title = 'ICP 备案问题 [已解决]'
33
date = 2024-06-11T10:04:00+08:00
44
draft = false
55
tags = ["Important", "iOS"]
66
+++
77

8-
Update 2024.06.11: 问题已解决,App Store 版本已更新,可以正常下载使用。
8+
> Update 2024.06.11: 问题已解决,App Store 版本已更新,可以正常下载使用。
9+
>
10+
> [App Store 链接](https://apps.apple.com/us/app/life-ustc/id1660437438)
911
10-
App Store 连接:<https://apps.apple.com/cn/app/%E5%AD%A6%E5%9C%A8%E7%A7%91%E5%A4%A7/id1643944931>
12+
由于 MIIT 对新上架应用要求备案的政策,在我们解决相关问题之前,请下载并使用 Testflight 进行更新。
1113

12-
13-
~~由于 MIIT 对新上架应用要求备案的政策,在我们解决相关问题之前,请下载并使用 TestFlight 进行更新。~~
14-
15-
~~TestFlight 链接:<https://testflight.apple.com/join/EDiz9kt3>~~
14+
Testflight 链接:<https://testflight.apple.com/join/HIftOs4Z>

hugo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
baseURL = 'https://xzkd-project.github.io/rss'
1+
baseURL = 'https://rss.life-ustc.tiankaima.dev'
22
languageCode = 'en-us'
3-
title = 'RSS site for xzkd-project'
3+
title = 'RSS site for Life @ USTC'
44
theme = "papermod"
5-
[taxonomies]
5+
6+
[taxonomies]
67
tag = "tags"
78
category = "categories"

0 commit comments

Comments
 (0)