More changes to update manual/push-badges.yml for pagure
This commit is contained in:
parent
af29900d78
commit
6c936cc0b8
1 changed files with 6 additions and 6 deletions
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# Badge artists and badge developers should be pushing stuff to this repo:
|
||||
#
|
||||
# https://git.fedorahosted.org/cgit/badges.git
|
||||
# https://pagure.io/fedora-badges-assets.git
|
||||
#
|
||||
# This playbook will take any new content from there and push it out onto our
|
||||
# servers.
|
||||
|
@ -26,13 +26,13 @@
|
|||
- name: clone the local bare repo
|
||||
git: dest={{tempdir}} repo=/git/badges remote=origin update=yes
|
||||
|
||||
- name: add fedorahosted as a second remote
|
||||
command: git remote add fhosted {{upstream}} chdir={{tempdir}}
|
||||
- name: add pagure as a second remote
|
||||
command: git remote add pagure {{upstream}} chdir={{tempdir}}
|
||||
|
||||
- name: pull down changes from fedorahosted
|
||||
command: git pull fhosted master chdir={{tempdir}}
|
||||
- name: pull down changes from pagure
|
||||
command: git pull pagure master chdir={{tempdir}}
|
||||
|
||||
- name: push fedorahosted changes back to the lockbox bare repo
|
||||
- name: push pagure changes back to the lockbox bare repo
|
||||
command: git push origin master chdir={{tempdir}}
|
||||
|
||||
- name: clean up that temporary {{tempdir}} dir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue