logseq-publish-theme-tenset/action.yml
2023-10-18 14:16:17 +00:00

20 lines
864 B
YAML

name: Logseq Publish apply Tenset theme
description: A postprocessor for logseq-spa. Applies logseq-tenset-theme to published site
runs:
using: composite
steps:
- name: Set up Node
uses: actions/setup-node@v3
- name: Check out logseq-tenset-theme repo
uses: actions/checkout@v4
with:
repository: tenset-security/logseq-tenset-theme
path: logseq-tenset-theme
- run: npm --prefix ${{ github.workspace }}/logseq-tenset-theme i
shell: bash
- run: npm --prefix ${{ github.workspace }}/logseq-tenset-theme run build
shell: bash
- run: cp ${{ github.workspace }}/logseq-tenset-theme/build/tenset-theme.css ${{ github.workspace }}/www/static/css/custom.css
shell: bash
- run: cp ${{ github.workspace }}/logseq-tenset-theme/build/*.ttf ${{ github.workspace }}/www/static/css/
shell: bash