![]() ![]() Also make sure the remote is set properly. Gitify Watch doesn't support pushing to password protected repositories, so make sure a simple git push origin branch works without prompting for a password. ![]() ![]() Gitify is a set of command-line commands that can be used for versioning and dev-stage-production workflows with a MODX site. Make sure the git repositry is configured properly The official documentation for modmore extras. next time Scheduler runs), or specify a number in minutes to delay it by that much time.ĥ. commit_delay: how quickly do you want changes to be committed and pushed? Set to instant to have it commit as soon as possible (i.e.remote: if your remote is not called origin, specify its name here.Should probably make sure this is disabled on your dev site. auto_commit_and_push: when enabled, Gitify Watch will automatically commit and push all changes it detects to resources and elements.This currently doesn't make Gitify Watch switch to that branch, but it is necessary for pushing to remote branch: the branch this environment is on.name: what to call this environment in the commit message.Each key contains the necessary information as to what Gitify Watch needs to do on that domain. Name: Development branch: develop defaults:Īuto_commit_and_push: false commit_delay: 60Įach key is a host (domain), with the exception of defaults which is a reserved key for setting default values across all your environments. Name: Production branch: master auto_commit_and_push: true v: The environments block looks something like this: But you still need to configure the environment in your. It will then schedule a gitifywatch:extract run which, when executed, You can now edit a resource or an element, and GitifyWatch will see it. This needs to point to the Gitify directory, not the Gitify file inside that directory. Point the gitifywatch.gitify_path setting to where you installed Gitify on the server. Go to System > System Settings and choose the GitifyWatch namespace in the namespace dropdown. This will install the GitifyWatch plugin and a Scheduler task (gitifywatch:extract) which will handle the magic. It is available from the package provider for free. Follow the Gitify installation here: įirst, install the package via Package Management. Install dependenciesīefore installing Gitify Watch, make sure the following are installed: Starting point for building a complete workflow away from the command line. With project-specific development, it could also be a Remote, so it is easy to keep a development server up to date. The primary purpose of Gitify Watch is to be sure changes made directly on production are immediately pushed to the git It hooks into various MODX events,Īnd will automatically extract and commit changes you make. Gitify Watch is a MODX plugin to complement the Gitify command line tool. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |