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