33 lines
620 B
YAML
33 lines
620 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: build
|
|
|
|
steps:
|
|
# - name: build
|
|
# image: squidfunk/mkdocs-material:7.1.9
|
|
# volumes:
|
|
# - name: site
|
|
# path: /site
|
|
# commands:
|
|
# - /usr/local/bin/python -m pip install --upgrade pip
|
|
# - mkdocs build
|
|
# - cp -r site/ /site
|
|
# - chmod -R 777 /site
|
|
|
|
- name: ssh
|
|
image: appleboy/drone-ssh
|
|
settings:
|
|
host:
|
|
from_secret: ssh_server
|
|
username:
|
|
from_secret: ssh_username
|
|
password:
|
|
from_secret: ssh_password
|
|
port: 22
|
|
command_timeout: 2m
|
|
script:
|
|
- echo "Hello World"
|
|
- ls
|
|
# - bash /mnt/user/Backups/wiki/git_pull.sh
|