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 creates subdir instead of overwriting contents of same-name dir

See original GitHub issue

I’m using this action here, with keep_files: true (currently set to false) https://github.com/fruktkartan/fruktkartan/blob/master/.github/workflows/deploy-production.yml#L24

I’m quite confident that the latest v3 deploys js/file to js/js/file, when the js directory already exists (same for fonts etc).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
hathawayjcommented, Oct 12, 2020

I modified my main.yml action with the above settings and then pushed a new markdown file for projects and everything seem to build correctly. Thanks for the fix.

0reactions
github-actions[bot]commented, Jun 25, 2021

This issue has been LOCKED because of it being resolved!

The issue has been fixed and is therefore considered resolved. If you still encounter this or it has changed, open a new issue instead of responding to solved ones.

<div align="right">Log | Bot Usage</div>
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to move and overwrite subdirectories (and files) to parent ...
I have a ton of files and dirs in a subdirectory I want to move to the parent directory. There are ...
Read more >
How to force 'cp' to overwrite directory instead of creating ...
When you use the option -T it overwrites the contents, treating the destination like a normal file and not directory. $ cp -TRv...
Read more >
Copying all files inside subdirectories and renaming instead of ...
This will copy all files in ~/Music to ~/Videos . If a file of the same name exists at the destination, it is...
Read more >
New Option destination_dir for deploying to a subdirectory #324
Please describe Some users seem to want to deploy to a subdirectory. ... keep_files creates subdir instead of overwriting contents of same-name dir...
Read more >
Is there a way to overwrite folders instead of merging them?
Now the only option available is to merge. The only way around it that I've found is to delete one folder first and...
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