A little bit more of token handling
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
@@ -72,7 +72,7 @@ tasks:
|
||||
sh: mktemp -d
|
||||
cmds:
|
||||
- git clone git@gitea.badhouseplants.net:softplayer/softplayer-go-proto.git '{{ .WORKDIR }}'
|
||||
- git -C '{{ .WORKDIR }}' checkout '{{ .CLI_ARGS }}'
|
||||
- git -C '{{ .WORKDIR }}' checkout '{{ .CLI_ARGS | default "main" }}'
|
||||
- go get gitea.badhouseplants.net/softplayer/softplayer-go-proto@$(git -C '{{ .WORKDIR }}' rev-parse HEAD)
|
||||
- rm -rf '{{ .WORKDIR }}'
|
||||
- go mod tidy
|
||||
|
||||
Reference in New Issue
Block a user