Gulp to Github: am I missing something?


#1

This seems like it should be easy, but it’s eluding me at the moment…

How do you take the files in the filesystem from a build with Gulp and push those to a git repo?

I feel like its obvious but my brain is fried right now.

Any help would be much appreciated.


#2

Ideally, the following pipeline is what I’d like to be able to do with Buddy:

  1. When a push is made to a particular branch (let’s call it “pre-build”), it starts the pipeline actions.
  2. The first action is executing a task runner of some kind. In my case, we’re using Gulp to build some files from the “pre-build” branch.
  3. On successful completion, the build files that have been created and reside somewhere in the Pipeline Filesystem are then pushed to another branch on the same repo, and in my case, this would be the master branch.

Of the two actions that are listed under “Deliver to version control”, only the WebDAV option asks you which files to transfer. Ideally, the Git Push action would do the same, but from all appearances, it basically pushes unbuilt files which makes it effectively useless in this context.

This seems like something you should be able to do with this CD/CI tool, given all the other available options. Hopefully, it’s just me missing something entirely. I’ve played around with a few settings, but nothing seems to work.


#3

Solved my issue. The push process was utilizing the same .gitignore file throughout, and I needed to use a modified .gitignore file.