When change index.html during build it is overwritten
See original GitHub issuei have folder gh-pages
- that then is deployed to gh-pages
branch, during build i rewrite index.html
when it is deployed it takes original index.html
(not yet clear it takes it from master
, or gh-pages
branch) - but as result i got deployed not by updated file, but that how it looks originally
Issue Analytics
- State:
- Created 4 years ago
- Comments:18 (9 by maintainers)
Top Results From Across the Web
How to stop flutter web from overwriting my index.html every ...
You should modify index.html file in the <project>/web folder, but not in the <project>/build/web folder. This file will be copied to ...
Read more >Bug #1194074 “Default index.html blindly overwritten”
Just updated a server and the default /usr/share/nginx/www/index.html file was blindly overwritten with the 'Welcome to Nginx' one, ...
Read more >My index.html file in Nginx automatically gets overwritten with ...
My website will work for a few days and then my index. html file will get overwritten. There is no method to the...
Read more >Topic: index.html overwriting index.php – website 'home page'
I have been doing some work on a friend's website… ... I think i have to make changes to the index.php file to...
Read more >How to overwrite the root index.html when ... - HUGO
In my config.toml I have set defaultContentLanguageInSubdir = true ... or build the site, hugo will replace my custom index.html with the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Awesome stuff. Testing out the 3.6.2 release on our internal sites and hopefully if all is well we’ll be running this on production by the end of the week. Thanks!
I’m releasing this as part of
3.6.2
as an experimental feature. I’m going to close this issue, please usePRESERVE: true
in your workflow to enable this feature. If you experience any problems please open up a new issue so they can be properly tracked/prioritized.Thanks everyone! You can find the release notes here: https://github.com/JamesIves/github-pages-deploy-action/releases/tag/3.6.2