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
Currently, all files that are set to be ignored in .gitignore will not be deployed by the action. This seems to be caused by the git clone operation and, while I haven't been able to find any discussion on this in issues or PRs (I used github's search tool, so I might be on the wrong here), I think it's safe to assume that this is the intended behaviour.
I believe that this behaviour could be counterintuitive to some users, so it may be interesting to document it on the readme, or at least discuss the idea here.
Reproduction
Create a repository that includes a .gitignore file that blacklists some files
Set up a CI pipeline that deploys the directory that contains the .gitignore file using this action
Files specified on .gitignore will not be deployed
Description
Currently, all files that are set to be ignored in .gitignore will not be deployed by the action. This seems to be caused by the
git clone
operation and, while I haven't been able to find any discussion on this in issues or PRs (I used github's search tool, so I might be on the wrong here), I think it's safe to assume that this is the intended behaviour.I believe that this behaviour could be counterintuitive to some users, so it may be interesting to document it on the readme, or at least discuss the idea here.
Reproduction
You can see this behaviour on this CI run.
Reasons why this can be unexpected
I personally got confused by this behaviour, as I expected .gitignored files to be deployed. My thought process went along the lines of:
The text was updated successfully, but these errors were encountered: