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