keep_files creates subdir instead of overwriting contents of same-name dir
See original GitHub issueI’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:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top 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 >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 FreeTop 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
Top GitHub Comments
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.
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>