haunt/.woodpecker.yml
abs3nt 6f79719919
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci: build changes
2023-03-04 23:42:01 -08:00

25 lines
466 B
YAML

pipeline:
build:
image: golang
commands:
- go mod tidy
- go build -o bin/haunt
when:
event: push
publish:
image: goreleaser/goreleaser
commands:
- goreleaser release --clean
secrets: [ gitea_token ]
when:
event: tag
publish-github:
image: goreleaser/goreleaser
commands:
- goreleaser release --config .githubrelease.yaml --clean
secrets: [ github_token ]
when:
event: tag