New feature: Exclude files from ignore paths
Although Buddy's actions are preconfigured, this doesn't mean it gives you any less control over your workflow. In fact, each action can be fully modified, allowing you to change the Docker image, install packages required by your app, attach databases, and so on.
Image loading...
In case of deployment actions, you can select source and remote paths, select the revision on the server so that you don't have to upload everything from scratch, but also use ignore patterns to exclude files from upload. Let's have a closer look at that last feature now.
Image loading...
Use Case 1
Let's say you have an assets
directory with .PNG files that you want to update. However, you don't want to update any other .PNG files from your repository. In this case you can do as follows:
- Click More options to expand Ignore Paths
- Add
*.png
to the ignore box - Add
assets
to the exclude box
Use Case 2
Here we have a repository with multiple directories, but we only want to deploy from two of them.
- Click More options to expand Ignore Paths
- Add
*
to the ignore box to leave out all directories - In the exclude box, add the paths to the folders you want to deploy
Syntax
Pattern | Action |
---|---|
config | all files named 'config' |
*.png | all PNG files |
/config | all files named 'config' located in the ROOT directory |
config/ | all directories named 'config' together with their contents |
/config/ | the directory named 'config' located in the ROOT directory together with their contents |
dir/name* | all files starting with 'name' in 'dir' folder |
/dir/name* | all files starting with 'name' in 'dir' folder located in the ROOT directory |
test* | all files starting with 'test' |
test*/ | all directories starting with 'test' |
/test*/ | all directories starting with 'test' located in the ROOT directory |
All syntax patterns are available in-app under ?
by the ignore box:
Image loading...
Jarek Dylewski
Customer Support
A journalist and an SEO specialist trying to find himself in the unforgiving world of coders. Gamer, a non-fiction literature fan and obsessive carnivore. Jarek uses his talents to convert the programming lingo into a cohesive and approachable narration.