Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renaming note just adds note with new name #173

Open
ingvald opened this issue Jun 4, 2023 · 1 comment
Open

renaming note just adds note with new name #173

ingvald opened this issue Jun 4, 2023 · 1 comment

Comments

@ingvald
Copy link

ingvald commented Jun 4, 2023

git repo didn't remove old name versions, causing build error for the dg-home note
(output conflict, multiple input files writing to index file)

perhaps either some fix or some docs guidance is desirable?

@ancillarymagnet
Copy link

Yeah chiming in with steps to reproduce in case it's unclear since I ran into this myself - agree that better guidance in docs is minimum fix:

  1. Publish a note with dg-home = true.
  2. Change the name of the note
  3. Publish the newly-renamed note with Publish Single Note command
  4. Vercel build fails with error 1 and an opaque message

The issue is that you now have two published notes with dg-home=true. The solve is to Publish Multiple Notes, which will 'publish the deletion' of the note with its old name, thus removing it.

Thanks for the project, hope this is helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants