#Propel-Push
A Propel extension that allows you to push to
git remotes specified in propel.yml
, which is also the config file to deploy with Propel.
pip install propel-push
Add the following in the propel.yml
git-remotes:
origin:
- git@github.com:mardix/propel-push.git
Where git-remotes
is a dict of dict of remote name and hosts. It can contain
multiple remotes, and each remote contains a dict of hosts.
Given a config like the one below in the propel.yml
git-remotes:
origin:
- git@github.com:mardix/propel-push.git
production:
- ssh://user@host:/home/path.git
- ssh://user@host1:/home/path.git
- ssh://user@host2:/home/path.git
staging:
- ssh://user@host:/home/path.git
To push to a remote by name. In this instance production
propel-push -r production
To push to all remotes. origin
, production
and staging
will be used.
propel-push -a
To list remotes that are on the propel.yml
propel-push -l
To reset the git remote
to the ones int propel file.
Git
MIT