logseq-publish-theme-tenset/action.yml

24 lines
955 B
YAML
Raw Normal View History

2023-10-10 10:07:43 +00:00
name: Logseq Publish apply Tenset theme
description: inserts 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
2023-10-10 16:10:11 +00:00
- run: find | grep www
shell: bash
- 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 14:43:52 +00:00
- run: mkdir ${{ github.workspace }}/logseq/fonts
shell: bash
2023-10-10 16:10:11 +00:00
- run: cp ${{ github.workspace }}/logseq-tenset-theme/build/*.ttf ${{ github.workspace }}/www/static/css/fonts/
2023-10-10 10:07:43 +00:00
shell: bash