You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Publii is replacing important files when deploying (Syncing) an update to Git Repository.
We are not using Github pages.
We are using fleek.xyz which pulls our Github repository to on-chain file hosting, and IPFS.
We need to force Publii to ignore a file > _redirects (this is an IPFS formatted redirect file).
We also need Publii to ignore the .gitignore file. (otherwise, .DS_Store files keep getting deployed again to the repo automatically).
We have have tested other methods a little, and we are aware that Publii plans to remove direct Git support, but we think it should be kept if possible so our updates are deployed easier, and we don't ever plan to use centralized hosting such as Github Pages, or any kind of centralized hosting in the future.
Currently, we have to perform a fetch, manually replacing the files that Publii deletes when the Sync is executed, and push a second commit for each update. Having a specific branch for Publii is also another option, but, is about the same amount of work each update anyways.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Publii is replacing important files when deploying (Syncing) an update to Git Repository.
_redirects
(this is an IPFS formatted redirect file)..gitignore
file. (otherwise,.DS_Store
files keep getting deployed again to the repo automatically).We have have tested other methods a little, and we are aware that Publii plans to remove direct Git support, but we think it should be kept if possible so our updates are deployed easier, and we don't ever plan to use centralized hosting such as Github Pages, or any kind of centralized hosting in the future.
Currently, we have to perform a fetch, manually replacing the files that Publii deletes when the Sync is executed, and push a second commit for each update. Having a specific branch for Publii is also another option, but, is about the same amount of work each update anyways.
Beta Was this translation helpful? Give feedback.
All reactions