Alternative configurable deploy excludes - #3
Conversation
Fix 10up/actions-wordpress#1, ref 10up/actions-wordpress#7 and can satisfy 10up/actions-wordpress#3 Replace 10up/actions-wordpress#14
|
Okay - it took me a while to understand what you were really solving for here, but I think I've got it. I noticed this while working on a plugin that has some built stuff in With the help of @markjaquith, it looks like so long as it's in the right order The actual ideal if wanting to re-use The thing I'm unsure about in your implementation for an initial merge is whether it's right to look for |
|
@LeoColomb I pushed a commit to remove |
Really nice, seems good to me! 👍 (sorry if my initial post was not clear, will try to explain better next time 😺) |
|
It worked! See https://github.com/10up/insert-special-characters/runs/208438277. I'm going to update the documentation for a bunch of things and also update the asset updater to use the same method, then merge to master and tag a new release. |
Fix 10up/actions-wordpress#1, ref 10up/actions-wordpress#7 and can satisfy 10up/actions-wordpress#3
Replace 10up/actions-wordpress#14
This PR aims to let the source of files to deploy be easily configurable.
If
GITHUB_TOKENis provided, the process is exactly the same.If not provided, we fallback to local files.
Using local files helps solving 10up/actions-wordpress#3, where we can use GitHub Actions with layers.
We use
.distignoreas suggested in #1 to ignore file with rsync while letting this be configurable.The documentation may require an update, but let me know your thoughts on this first.