修改自动化脚本,协议实时生成
This commit is contained in:
parent
6fbfcb60eb
commit
3dcfcda708
@ -17,10 +17,17 @@
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
register: git_result
|
||||
|
||||
- name: change docs git branch
|
||||
shell: cd /data/docs && git checkout online && git pull
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
|
||||
- name: protoc protobuff
|
||||
shell: cd /data/docs && protoc --go_out=/codes/pet_home_server/src/server/msg ./proto/Gameapi.proto
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
|
||||
- name: sh pack.sh
|
||||
shell: sh /data/devops/pack.sh
|
||||
delegate_to: localhost
|
||||
|
||||
@ -17,10 +17,17 @@
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
register: git_result
|
||||
|
||||
- name: change docs git branch
|
||||
shell: cd /data/docs && git checkout online && git pull
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
|
||||
- name: protoc protobuff
|
||||
shell: cd /data/docs && protoc --go_out=/codes/pet_home_server/src/server/msg ./proto/Gameapi.proto
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
|
||||
- name: sh pack.sh
|
||||
shell: sh /data/devops/pack.sh
|
||||
delegate_to: localhost
|
||||
|
||||
@ -20,6 +20,10 @@
|
||||
shell: cd /data/docs && git checkout sdk && git pull
|
||||
delegate_to: localhost
|
||||
|
||||
- name: protoc protobuff
|
||||
shell: cd /data/docs && protoc --go_out=/codes/pet_home_server/src/server/msg ./proto/Gameapi.proto
|
||||
delegate_to: localhost
|
||||
|
||||
- name: sh pack.sh
|
||||
shell: sh /data/devops/pack.sh
|
||||
delegate_to: localhost
|
||||
|
||||
@ -20,6 +20,10 @@
|
||||
shell: cd /data/docs && git checkout sdk && git pull
|
||||
delegate_to: localhost
|
||||
|
||||
- name: protoc protobuff
|
||||
shell: cd /data/docs && protoc --go_out=/codes/pet_home_server/src/server/msg ./proto/Gameapi.proto
|
||||
delegate_to: localhost
|
||||
|
||||
- name: sh pack.sh
|
||||
shell: sh /data/devops/pack.sh
|
||||
delegate_to: localhost
|
||||
|
||||
@ -21,6 +21,11 @@
|
||||
- name: change docs git branch
|
||||
shell: cd /data/docs && git checkout main && git pull
|
||||
delegate_to: localhost
|
||||
|
||||
- name: protoc protobuff
|
||||
shell: cd /data/docs && protoc --go_out=/codes/pet_home_server/src/server/msg ./proto/Gameapi.proto
|
||||
delegate_to: localhost
|
||||
|
||||
- name: sh pack.sh
|
||||
shell: sh /data/devops/pack.sh
|
||||
delegate_to: localhost
|
||||
|
||||
Loading…
Reference in New Issue
Block a user