I have the following workflow/publish.yml:
on: [push]
permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
name: Publish Logseq graph
steps:
- uses: actions/checkout@v4
- uses: logseq/publish-spa@v0.3.0
with:
graph-directory: graph
output-directory: www
accent-color: violet
- 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
as defined here
my graph is under the graph dir.
When I publish it completely overwrites my repository with the site files.
Does anyone use this GitHub Action?
Can anyone share a working yml?