Files
Docs/.drone.yml
T
droplet-biometry-mushroom e57c791620
continuous-integration/drone/push Build is passing
test 5
2024-02-01 06:21:32 -06:00

39 lines
701 B
YAML
Executable File

kind: pipeline
type: docker
name: mkdocs
steps:
- name: build
image: python:3.12
commands:
- sh install-packages.sh
- pip install --no-cache-dir -r requirements.txt
- mkdocs new .
- mkdocs build --verbose
- ls -l
# - name: deploy
# image: appleboy/drone-scp
# settings:
# host:
# from_secret: SITE_SSH_HOST
# username:
# from_secret: SITE_SSH_USER
# password:
# from_secret: SITE_SSH_PASS
# port:
# from_secret: SITE_SSH_PORT
# target:
# from_secret: SITE_SSH_PATH
# source:
# - ./site/
when:
branch:
- dev-publish
event:
- push