Projects/_posts/2023-10-10-logseq-publish-theme-tenset.md
2023-10-20 02:03:34 +00:00

961 B

title
GitHub Action - logseq-publish-theme-tenset

A postprocessor for logseq-spa. Applies logseq-tenset-theme to published site

Example Action

on: [push]

permissions:
  contents: write
jobs:
  test:
    runs-on: ubuntu-latest
    name: Publish Logseq graph
    steps:
      - uses: actions/checkout@v3
      - uses: logseq/publish-spa@main
        with:
          version: nightly
          theme-mode: dark
      - name: apply tenset theme
        uses: Surferlul/logseq-publish-theme-tenset@main
      - name: add a nojekyll file # to make sure asset paths are correctly identified
        run: touch $GITHUB_WORKSPACE/www/.nojekyll
      - name: Deploy 🚀
        uses: JamesIves/github-pages-deploy-action@v4
        with:
          folder: www

View on Marketplace

View on Github