mongo-replica-initializer/.woodpecker

20 lines
583 B
Plaintext
Raw Normal View History

2024-05-13 07:56:32 +00:00
steps:
build:
when:
event: [push, pull_request]
2024-05-13 08:02:21 +00:00
image: docker.io/library/golang:latest
2024-05-13 07:56:32 +00:00
commands:
- go get
2024-05-13 08:30:39 +00:00
- go build
upload:
2024-05-13 08:31:44 +00:00
image: docker.io/ellpeck/woodpecker-nextcloud-upload
2024-05-13 08:30:39 +00:00
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"
2024-05-13 08:35:10 +00:00
dest: CI_Uploads # the destination directory