question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When change index.html during build it is overwritten

See original GitHub issue

i 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:closed
  • Created 4 years ago
  • Comments:18 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
oldgalileocommented, Sep 27, 2020

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!

1reaction
JamesIvescommented, Sep 27, 2020

I’m releasing this as part of 3.6.2 as an experimental feature. I’m going to close this issue, please use PRESERVE: 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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found