You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keep the previous state and synchronize the hash file again, but no files will be deleted this time
This can achieve my goal twice, but it doesn't feel very good
Additional context
I want to synchronize a directory from warehouse A to warehouse B,
But I have my own github action in Warehouse B, and I don't want the github action file in Warehouse B to be deleted
So I used keep_ Files option.
But the file I synchronized to Warehouse B is a website, and the JS and CSS file names have hashes,
For example, index.hash.js,
If I use keep_ Files
This will cause a lot of index. hash.js files to appear in the files synchronized with Warehouse B,
Actually, all you need is an index. has.js.
Later on, I discovered that exclude_ Assets, after reading the relevant code, I found that deleting the relevant files after synchronizing them to warehouse B does not meet my needs.
The text was updated successfully, but these errors were encountered:
Checklist
Describe your proposal
I feel like keeping_ Files can be a string type, like excude_ Like assets, filtering files through wildcards.
Describe the solution you'd like
Simply put, my requirement is not to delete certain files in Warehouse B during synchronization, such as github action, readme.md, and so on.
Describe alternatives you've considered
Currently, I have executed two actions
Keep the previous state and synchronize the hash file again, but no files will be deleted this time
This can achieve my goal twice, but it doesn't feel very good
Additional context
I want to synchronize a directory from warehouse A to warehouse B,
But I have my own github action in Warehouse B, and I don't want the github action file in Warehouse B to be deleted
So I used keep_ Files option.
But the file I synchronized to Warehouse B is a website, and the JS and CSS file names have hashes,
For example, index.hash.js,
If I use keep_ Files
This will cause a lot of index. hash.js files to appear in the files synchronized with Warehouse B,
Actually, all you need is an index. has.js.
Later on, I discovered that exclude_ Assets, after reading the relevant code, I found that deleting the relevant files after synchronizing them to warehouse B does not meet my needs.
The text was updated successfully, but these errors were encountered: