Compare commits
2 Commits
main
...
update-js-
| Author | SHA1 | Date | |
|---|---|---|---|
|
0b1979e4f1
|
|||
|
73f000791a
|
@@ -15,11 +15,12 @@ steps:
|
|||||||
- git clone https://$GITEA_USER:$GITEA_TOKEN@gitea.badhouseplants.net/softplayer/softplayer-js-proto.git target
|
- git clone https://$GITEA_USER:$GITEA_TOKEN@gitea.badhouseplants.net/softplayer/softplayer-js-proto.git target
|
||||||
- git -C ./target config user.name "devops-bot"
|
- git -C ./target config user.name "devops-bot"
|
||||||
- git -C ./target config user.email "bot@badhouseplants.net"
|
- git -C ./target config user.email "bot@badhouseplants.net"
|
||||||
- name: Generate go code
|
- name: Generate js code
|
||||||
image: bufbuild/buf
|
image: bufbuild/buf
|
||||||
commands:
|
commands:
|
||||||
- buf generate
|
- buf generate
|
||||||
- rm -rf ./target/src/api
|
- rm -rf ./target/src/api
|
||||||
|
- mkdir -p ./target/src/api
|
||||||
- cp -r ./gen/ts/* ./target/src/api
|
- cp -r ./gen/ts/* ./target/src/api
|
||||||
- name: Clone go repo
|
- name: Clone go repo
|
||||||
image: alpine
|
image: alpine
|
||||||
|
|||||||
Reference in New Issue
Block a user