mirror of
https://github.com/SebastianStork/kita.git
synced 2026-01-21 12:11:35 +01:00
chore: migrate demo site to cloudflare
This commit is contained in:
parent
f3f18d697f
commit
7b9affd848
4 changed files with 3 additions and 39 deletions
36
.github/workflows/publish-pages.yml
vendored
36
.github/workflows/publish-pages.yml
vendored
|
|
@ -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
|
||||
|
|
@ -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)
|
||||
|
||||

|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue