diff --git a/.github/workflows/publish-pages.yml b/.github/workflows/publish-pages.yml deleted file mode 100644 index 9bfd37a..0000000 --- a/.github/workflows/publish-pages.yml +++ /dev/null @@ -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 diff --git a/README.md b/README.md index 45cc53d..fd43c2d 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/config.toml b/config.toml index a540dba..2022044 100644 --- a/config.toml +++ b/config.toml @@ -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" diff --git a/theme.toml b/theme.toml index 79f9f4c..983d9f5 100644 --- a/theme.toml +++ b/theme.toml @@ -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"