mongo-replica-initializer/.woodpecker
2024-05-13 15:53:19 +07:00

20 lines
584 B
Plaintext

steps:
build:
when:
event: [push, pull_request]
image: docker.io/library/golang:latest
commands:
- go get
- go build
upload:
image: docker.io/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