Skip to content

Commit b450499

Browse files
committed
chore: replace RSS and sitemap generation with simplified scripts
1 parent af4fd0e commit b450499

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,31 @@ jobs:
2424
- name: Install dependencies
2525
run: npm install
2626

27-
- name: Install tsx
28-
run: npm install tsx
29-
30-
- name: Generate SEO files
27+
- name: Generate SEO files (simple version)
3128
run: |
32-
npx tsx scripts/generate-sitemap.ts || echo "Sitemap generation failed, continuing..."
33-
npx tsx scripts/generate-rss.ts || echo "RSS generation failed, continuing..."
29+
# 간단한 sitemap 생성
30+
cat > public/sitemap.xml << 'EOF'
31+
<?xml version="1.0" encoding="UTF-8"?>
32+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33+
<url>
34+
<loc>https://eottabom.github.io/</loc>
35+
<lastmod>$(date -u +%Y-%m-%dT%H:%M:%S+00:00)</lastmod>
36+
</url>
37+
</urlset>
38+
EOF
39+
40+
# 간단한 RSS 생성
41+
cat > public/rss.xml << 'EOF'
42+
<?xml version="1.0" encoding="UTF-8"?>
43+
<rss version="2.0">
44+
<channel>
45+
<title>eottabom.github.io</title>
46+
<link>https://eottabom.github.io</link>
47+
<description>Blog RSS Feed</description>
48+
<lastBuildDate>$(date -u +"%a, %d %b %Y %H:%M:%S +0000")</lastBuildDate>
49+
</channel>
50+
</rss>
51+
EOF
3452
3553
- name: Build and Export
3654
run: |

0 commit comments

Comments
 (0)