remove excalidraw which is triggering security issues #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- '*.md' | |
permissions: | |
contents: write | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Run the action on logseq graph and publish | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build graph's SPA | |
uses: logseq/publish-spa@main | |
with: | |
graph-directory: logseq | |
theme-mode: dark | |
accent-color: cyan | |
- name: Add a nojekyll file # to make sure asset paths are correctly identified | |
run: touch $GITHUB_WORKSPACE/www/.nojekyll | |
- name: Remove excalidraw.js file | |
run: rm -f $GITHUB_WORKSPACE/static/js/excalidraw.js | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: www |