Files
faceclaimer/.woodpecker.yml
2025-10-28 09:17:59 -07:00

32 lines
534 B
YAML

skip_clone: true
when:
- branch: master
event: push
- event: tag
- event: pull_request
steps:
- name: clone
image: sh
commands:
- git clone "$CI_REPO_CLONE_URL" .
- git checkout "$CI_COMMIT_SHA"
- name: unit tests
image: sh
commands:
- go test ./...
- name: build and publish
image: sh
commands:
- go build -o /mnt/build-artifacts/
- name: redeploy
when:
- branch: master
event: push
image: sh
commands:
- ssh controller fc-inconnu