How to publish the same content on two PCs?

First, I use iCloud for Obsidian Sync.

When I publish from one PC, it starts publishing from the Obsidian Vault folder, but on the other PC, it starts publishing from a subfolder.

The problem occurs when I try to publish from another PC after publishing from one PC.

To continue publishing on another PC where the first PC left off, all changes made on the first PC are recognized as new changes. As a result, I have to delete and republish the files even though they are the same files.

Is there a way to solve this issue? I apologize for not being proficient in English.