@@ -21,7 +21,7 @@ steps:
|
||||
- buf generate
|
||||
- rm -rf ./target/pkg/*
|
||||
- cp -r ./gen/go/* ./target/pkg
|
||||
- name: Push the change
|
||||
- name: Clone go repo
|
||||
image: alpine
|
||||
environment:
|
||||
GITEA_USER: devops-bot
|
||||
@@ -29,6 +29,8 @@ steps:
|
||||
from_secret: gitea_repo_access
|
||||
commands:
|
||||
- apk update && apk add git
|
||||
- git config user.name "woodpecker-ci"
|
||||
- git config user.email "bot@badhouseplants.net"
|
||||
- git -C ./target checkout $CI_COMMIT_BRANCH || git -C ./target checkout -b $CI_COMMIT_BRANCH
|
||||
- git -C ./target add .
|
||||
- |-
|
||||
|
||||
Reference in New Issue
Block a user