Commit 195cda2a by 刘旋尧

hook

parent 27932c2a
...@@ -6,19 +6,19 @@ ...@@ -6,19 +6,19 @@
command: "git checkout master" command: "git checkout master"
args: args:
chdir: "{{ projects[project].dir }}" chdir: "{{ projects[project].dir }}"
when: type==test when: type == "test"
- name: 合并dev - name: 合并dev
command: "git merge dev" command: "git merge dev"
args: args:
chdir: "{{ projects[project].dir }}" chdir: "{{ projects[project].dir }}"
when: type==test when: type == "test"
- name: 推送到master - name: 推送到master
command: "git push origin master" command: "git push origin master"
args: args:
chdir: "{{ projects[project].dir }}" chdir: "{{ projects[project].dir }}"
when: type==test when: type == "test"
- name: 更新到指定版本 - name: 更新到指定版本
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment