Notfellchen/.woodpecker.yml
moanos 4ca5ed733c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci: Secret config
2024-10-04 11:08:49 +02:00

36 lines
644 B
YAML

---
steps:
create_docker_image:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: moanos/sphinx-rtd
dockerfile: docs/Dockerfile
tag: latest
username:
from_secret: docker_username
password:
from_secret: docker_password
build:
image: moanos/sphinx-rtd
commands:
- cd docs && make html
deploy:
image: appleboy/drone-scp
settings:
strip_components: 3
host:
from_secret: host
username:
from_secret: ssh_user
target:
from_secret: path
source: docs/_build/html/
key:
from_secret: ssh_key