Notfellchen/.woodpecker.yml

36 lines
644 B
YAML
Raw Normal View History

2024-10-03 07:03:28 +00:00
---
steps:
create_docker_image:
image: woodpeckerci/plugin-docker-buildx
settings:
2024-10-04 07:20:34 +00:00
repo: moanos/sphinx-rtd
dockerfile: docs/Dockerfile
2024-10-03 07:03:28 +00:00
tag: latest
2024-10-04 09:08:49 +00:00
username:
from_secret: docker_username
password:
from_secret: docker_password
2024-10-03 07:03:28 +00:00
build:
2024-10-04 07:20:34 +00:00
image: moanos/sphinx-rtd
2024-10-03 07:03:28 +00:00
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