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.

keep_files=true does not work when force_orphan=true

See original GitHub issue

I’m using v3, and when I added the force_orphan: true option in my deploy step, keep_files: true seemed to stop working. Existing files on gh-pages were not kept.

The corresponding commit is https://github.com/EpistasisLab/penn-ml-benchmarks/pull/93/commits/67f34beaff65ec640e1c3379f959c71986a36c7, whose actions log is here.

What I was hoping was to keep the existing files, add changes, then deploy to gh-pages as a single commit. If this is not possible, perhaps a warning would be helpful for users who expected the two options to work together?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:3
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
peaceiriscommented, Aug 20, 2020

Yes, it looks a practical use case. We need v4.

2reactions
ElliotSilvercommented, Sep 4, 2020

We have similar need. Our output is generated by running the master branch through a build process. We want to publish current content, as well as milestone (“v1.0”) content. Regular commits should trigger publication to /current, tagging should trigger publication to /{tag}. For the “current” directory, the content of that directory on the gh_pages branch should be replaced each time with the latest build. However, we don’t want to touch out anything on that branch in a milestone directory, or in the root directory.

  • /
    • current <- only directory updated on a regular commit
    • v1.0 <- directory created when master branch is tagged “v1.0” and not modified after
    • v1.1 <- directory created when master branch is tagged “v1.1” and not modified after

This may be related to #273, although each build only contains the content for the in-process build, not the other milestone content.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Orphan True Story & Real Life Crime Explained
Orphan follows the story of Esther, a little girl who turns out to be a killer, and her adopted family. But Esther and...
Read more >
Orphan: The Horror Movie's True Story, Explained
The horror movie Orphan found inspiration from a real-life story of murder and intrigue. Here's a look at what happened.
Read more >
Is Orphan based on a true story? The case that inspired ...
O. rphan, Jaume Collet-Serra's 2009 horror film, tells the story of a family who adopt a child—but all is not as it seems....
Read more >
The Creepy True Story Behind Orphan
The premise of the film Orphan sounds outrageous until you hear about a very similar real-life case.
Read more >
Orphan First Kill Esther Explained - YouTube
Your browser can 't play this video. Learn more. Switch camera.
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