Merge pull request 'fix: deploy docs only on master' (#7) from fix-ci-deploy into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #7
This commit is contained in:
commit
87e8b437c2
1 changed files with 9 additions and 3 deletions
|
@ -1,12 +1,18 @@
|
|||
pipeline:
|
||||
backend:
|
||||
steps:
|
||||
test:
|
||||
image: rust
|
||||
commands:
|
||||
- apt update && apt-get -y --no-install-recommends install tar gpg curl wget git
|
||||
- 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 ]
|
||||
|
|
Loading…
Reference in a new issue