-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin Deploy: Configurable excludes? #1
Comments
Separating the build process from the deployment process is definitely a good idea, as they're two distinct actions and can be performed and used independently of one another. For example, I might want to use my existing grunt/gulp/bash/webpack build process that I've spent years fine-tuning, and just hook up its output to an action that performs the deployment to w.org. If a separate build action is developed then it would be a good idea to make use of existing methods of file exclusion (most of which use glob patterns) such as |
Agreed it'd be nifty to discover existing ignore methods, especially Would also seem perfectly reasonable to allow an action-specific ignore file, e.g. |
@johnbillion @tnorthcutt Opened an issue to document my thoughts and discuss the build action in #3 :) |
I'm revisiting this as I add an Actions workflow to a plugin that currently keeps the built files in @johnbillion Any thoughts? |
My preference is to use At least one of my plugins has a build step which is run by Grunt and that command also respects the contents of A default |
I did finally remember part of why I went with |
Uses `git archive` to respect excludes specified in a `.gitattributes` file. A default `.gitattributes` file with some very basic excludes is temporarily written into place if one is not provided. Fixes #1
Currently the plugin deploy script excludes the
.git
and.github
directories because, well, they aren't needed. The plugin deploy action is really meant to be used together with the planned build process action, which means that other extraneous files shouldn't be lying around anyway, but I'm opening this issue just to track the idea in case we feel it would be a good thing for the deploy action to have configurable excludes.Technically speaking, this is probably a matter of
--exclude-from
and anENV
variable to override the default. Would need to test to be sure that can be used in conjunction with--exclude
which is used for the assets directory (already configurable).The text was updated successfully, but these errors were encountered: