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
Copy file name to clipboardExpand all lines: README.md
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -153,6 +153,21 @@ user/repo:
153
153
dest: .github/workflows/
154
154
```
155
155
156
+
### Exclude certain files when syncing directories
157
+
158
+
Using the `exclude` key you can specify files you want to exclude when syncing entire directories (#26).
159
+
160
+
```yml
161
+
user/repo:
162
+
- source: workflows/
163
+
dest: .github/workflows/
164
+
exclude: |
165
+
node.yml
166
+
lint.yml
167
+
```
168
+
169
+
> **Note:** the exclude file path is relative to the source path
170
+
156
171
### Don't replace existing file(s)
157
172
158
173
By default if a file already exists in the target repository, it will be replaced. You can change this behaviour by setting the `replace` option to `false`:
0 commit comments