Skip to content

Prevent action from overwriting certain files #68

Discussion options

You must be logged in to vote

Hi @loicnestler.

When using CLEAR_GLOBS_FILE, it replaces the default behavior of deleting everything, so you need to also add the default globs for deleting everything:

**/*
!.git
!theme/config/settings_data.json
!config/settings_data.json

I have added additional documentation / examples here: https://github.com/s0/git-publish-subdir-action#custom-clear-operations

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by s0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #55 on February 08, 2022 16:52.