fix: deploy docs only on master #7

Merged
realaravinth merged 1 commit from fix-ci-deploy into master 2024-06-08 01:55:08 +05:30
Showing only changes of commit b436f545a4 - Show all commits

View file

@ -1,12 +1,18 @@
pipeline: steps:
backend: test:
image: rust image: rust
commands: commands:
- apt update && apt-get -y --no-install-recommends install tar gpg curl wget git
- rustup component add rustfmt - rustup component add rustfmt
- rustup component add clippy - rustup component add clippy
- make lint - make lint
- make test - make test
- make doc - 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 - make ci-deploy
secrets: [ GITEA_WRITE_DEPLOY_KEY, LIBREPAGES_DEPLOY_SECRET ] secrets: [ GITEA_WRITE_DEPLOY_KEY, LIBREPAGES_DEPLOY_SECRET ]