chore: migrate demo site to cloudflare

This commit is contained in:
st1020 2025-02-19 22:07:30 +08:00
parent f3f18d697f
commit 7b9affd848
4 changed files with 3 additions and 39 deletions

View file

@ -1,36 +0,0 @@
name: Publish demo on GitHub Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Upload Pages artifact
uses: st1020/zola-deploy@v1
with:
version: v0.19.1
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

View file

@ -4,7 +4,7 @@ Kita is a clean, elegant and simple blog theme for Zola.
This theme is based on Hugo theme [hugo-paper](https://github.com/nanxiaobei/hugo-paper) with some features added.
[Demo](https://st1020.github.io/kita/)
[Demo](https://kita-zola.pages.dev)
![Screenshot](https://raw.githubusercontent.com/st1020/kita/main/screenshot.png)

View file

@ -1,5 +1,5 @@
# The base URL of the site; the only required configuration variable.
base_url = "https://st1020.github.io/kita"
base_url = "https://kita-zola.pages.dev"
# The site title and description; used in feeds by default.
title = "Kita"

View file

@ -3,7 +3,7 @@ description = "Kita is a clean, elegant and simple blog theme for Zola."
license = "MIT"
homepage = "https://github.com/st1020/kita"
min_version = "0.17.0"
demo = "https://st1020.github.io/kita/"
demo = "https://kita-zola.pages.dev"
[author]
name = "st1020"