脚本更新

This commit is contained in:
hahwu 2026-05-08 15:33:05 +08:00
parent b11ea892a2
commit ea87de5977
3 changed files with 10 additions and 1 deletions

View File

@ -22,7 +22,9 @@
shell: cd /data/docs && git checkout online && git pull
delegate_to: localhost
run_once: true
- name: git pull thrift
shell: cd /data/thrift-related && git pull
delegate_to: localhost
- name: protoc protobuff
shell: cd /data/docs && protoc --go_out=/codes/pet_home_server/src/server/msg --go-grpc_out=/codes/pet_home_server/src/server/msg ./proto/Gameapi.proto
delegate_to: localhost

View File

@ -19,6 +19,10 @@
- name: change docs git branch
shell: cd /data/docs && git checkout sdk && git pull
delegate_to: localhost
- name: git pull thrift
shell: cd /data/thrift-related && git pull
delegate_to: localhost
- name: protoc protobuff
shell: cd /data/docs && protoc --go_out=/codes/pet_home_server/src/server/msg --go-grpc_out=/codes/pet_home_server/src/server/msg ./proto/Gameapi.proto

View File

@ -21,6 +21,9 @@
- name: change docs git branch
shell: cd /data/docs && git checkout main && git pull
delegate_to: localhost
- name: git pull thrift
shell: cd /data/thrift-related && git pull
delegate_to: localhost
- name: protoc protobuff
shell: cd /data/docs && protoc --go_out=/codes/pet_home_server/src/server/msg --go-grpc_out=/codes/pet_home_server/src/server/msg ./proto/Gameapi.proto