github-pages-deploy-action
github-pages-deploy-action copied to clipboard
Deploy with .github folder is not possible
Hi,
I need deploy .github
folder from my dist
directory, but your script remove it hard coded with --exclude
.
Can you put option/options to exclude .github
folder optional?
Thanks.
We can make this an option if someone would like to make a pull request for it. By default we exclude a series of files that may cause circular deployments. If this were to be supported I think it should provide the same list as it does today by default, but if you add a new input to your workflow like so it should use that list as opposed to the default provided one.
exclude:
- .github
- file.xml
What do you think? We can warn about potential problems in the README.
Before you add the items in --exclude
, it should check if these items is not inside clean-exclude
list.
Example here:
--exclude ${DefaultExcludedFiles.GITHUB}
https://github.com/JamesIves/github-pages-deploy-action/blob/dev/src/git.ts#L184
Hello, I am looking forward to contribute to this. If you can give me any additional instruction, I am grateful to help. Im quite new to OS, but will try my best.
You may find the contribution guide helpful here.