add upload step
This commit is contained in:
parent
f00c461d89
commit
dc6c5b5352
1 changed files with 13 additions and 1 deletions
14
.woodpecker
14
.woodpecker
|
@ -5,4 +5,16 @@ steps:
|
||||||
image: docker.io/library/golang:latest
|
image: docker.io/library/golang:latest
|
||||||
commands:
|
commands:
|
||||||
- go get
|
- go get
|
||||||
- go build
|
- go build
|
||||||
|
|
||||||
|
upload:
|
||||||
|
image: ellpeck/woodpecker-nextcloud-upload
|
||||||
|
secrets: [ TTT_CI_TOKEN ]
|
||||||
|
settings:
|
||||||
|
# required settings
|
||||||
|
server: https://cloud.techtransthai.org # the server to use
|
||||||
|
user: ttt-ci # the user
|
||||||
|
token: $TTT_CI_TOKEN # the access token, or password if 2FA is disabled
|
||||||
|
files: # the file(s), uses glob patterns
|
||||||
|
- "server_setup"
|
||||||
|
dest: CI_Uploads/ # the destination directory
|
Loading…
Reference in a new issue