f3-rs/.woodpecker.yml
Aravinth Manivannan b436f545a4
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
fix: deploy docs only on master
2024-06-07 23:01:23 +05:30

18 lines
460 B
YAML

steps:
test:
image: rust
commands:
- rustup component add rustfmt
- rustup component add clippy
- make lint
- make test
- make doc
deploy_docs:
image: rust
when:
branch: master
event: [push, tag, deployment]
commands:
- apt update && apt-get -y --no-install-recommends install tar gpg curl wget git
- make ci-deploy
secrets: [ GITEA_WRITE_DEPLOY_KEY, LIBREPAGES_DEPLOY_SECRET ]