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 build --verbose - cowsay test2 # - 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