logseq-publish-theme-tenset/action.yml

20 lines
864 B
YAML
Raw Permalink Normal View History

2023-10-10 10:07:43 +00:00
name: Logseq Publish apply Tenset theme
2023-10-18 14:16:17 +00:00
description: A postprocessor for logseq-spa. Applies logseq-tenset-theme to published site
2023-10-10 10:07:43 +00:00
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
2023-10-10 16:10:11 +00:00
- run: cp ${{ github.workspace }}/logseq-tenset-theme/build/tenset-theme.css ${{ github.workspace }}/www/static/css/custom.css
2023-10-10 10:07:43 +00:00
shell: bash
2023-10-10 23:32:47 +00:00
- run: cp ${{ github.workspace }}/logseq-tenset-theme/build/*.ttf ${{ github.workspace }}/www/static/css/
2023-10-10 10:07:43 +00:00
shell: bash