when i tried to load my site on github pages everything does not work in it when open, when I try to download from localhost everything is fine, but not public
you commit your public folder to the repo, If building in a Ci/CD (gitub workflow) it’s not agood idea as the content is generated by the workflow and old stuff is not automatically deleted.
remove the public folder and add it to your .gitignore file to never commit that automatically.
HUGO_VERSION: 0.146.5
HUGO_ENVIRONMENT: production
TZ: America/Los_Angeles
GITHUB_PAGES: true
INPUT_PATH: ./public
Archive artifact
tar: public: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
Error: Process completed with exit code 2.