Skip to content

Commit 82b077c

Browse files
committed
fix invalid date
1 parent c243080 commit 82b077c

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

.github/workflows/gh-pages.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Deploy the website to Github Pages
33
on:
44
push:
55
branches: ["zine", "main"]
6+
pull_request:
7+
workflow_dispatch:
68

79
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
810
permissions:
@@ -20,16 +22,11 @@ concurrency:
2022
cancel-in-progress: true
2123

2224
jobs:
23-
deploy:
24-
environment:
25-
name: github-pages
26-
url: ${{ steps.deployment.outputs.page_url }}
27-
runs-on: ubuntu-latest
25+
build:
2826
steps:
2927
- uses: actions/checkout@v4
3028
with:
3129
fetch-depth: 0 # Change if you need git info
32-
3330
- name: Setup Zine
3431
uses: kristoff-it/setup-zine@v1
3532
with:
@@ -38,6 +35,14 @@ jobs:
3835
- name: Build
3936
run: zine release
4037

38+
deploy:
39+
environment:
40+
name: github-pages
41+
url: ${{ steps.deployment.outputs.page_url }}
42+
runs-on: ubuntu-latest
43+
needs: build
44+
if: github.event_name != 'pull_request'
45+
steps:
4146
- name: Setup Pages
4247
uses: actions/configure-pages@v5
4348

content/rss.smd

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
---
22
.title = "RSS Feeds Overview",
3-
.date = @date("2025-7-27"),
3+
.date = @date("2025-07-27"),
44
.author = "ZigCC",
55
.layout = "index.shtml",
66
.draft = false,
77
---
88

99
本站一共有 3 个 RSS 索引,分别索引了 学习、月刊和博客,便于满足不同读者的需求。
1010

11-
他们的链接分别是:
12-
- [/learn/index.xml]($link.page("learn").alternative('rss'))
13-
- [/monthly/index.xml]($link.page("monthly").alternative('rss'))
14-
- [/post/index.xml]($link.page("post").alternative('rss'))
15-
[/monthly/index.xml]($link.page("monthly").alternative('rss'))
16-
[/post/index.xml]($link.page("post").alternative('rss'))
17-
11+
他们的链接分别是:
12+
- [/learn/index.xml]($link.page("learn").alternative('rss'))
13+
- [/monthly/index.xml]($link.page("monthly").alternative('rss'))
14+
- [/post/index.xml]($link.page("post").alternative('rss'))

0 commit comments

Comments
 (0)