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
Since the PR numbers will always increase, and the .nojekyll files aren't cleaned up, I end up with a bunch of folders that only contain a .nojekyll file.
Is it somehow possible to circumvent this behaviour and clean up these files as well? Like the opposite of clean-exclude, clean-include, that could be part of the with property as well and could be set to the DefaultExcludedFiles by default.
Here's an example repo with my issue: https://github.com/Lenni009/action-test/tree/cd2616e
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm building a pipeline to allow gh-pages deployments from PR branches, using the PR's number.
So my gh-pages branch looks something like this:
Since the PR numbers will always increase, and the
.nojekyll
files aren't cleaned up, I end up with a bunch of folders that only contain a.nojekyll
file.Is it somehow possible to circumvent this behaviour and clean up these files as well? Like the opposite of
clean-exclude
,clean-include
, that could be part of thewith
property as well and could be set to theDefaultExcludedFiles
by default.Here's an example repo with my issue: https://github.com/Lenni009/action-test/tree/cd2616e
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Today there's no way to do this, but there has been a proposal for this for some time: https://github.com/JamesIves/github-pages-deploy-action/blob/dev/src/git.ts#L184
You could also consider simply removing the
.nojekyll
file prior to making your deployment as a workaround.Beta Was this translation helpful? Give feedback.
All reactions