wiki/.drone.yml
sthope d1303a3c11
Some checks failed
continuous-integration/drone/push Build is passing
Build / build (push) Failing after 10s
lint / lint (push) Failing after 9s
Docker Compose Test / test (push) Failing after 5s
Initial commit
2024-05-05 23:04:27 +02:00

45 lines
886 B
YAML

---
kind: pipeline
type: docker
name: build
clone:
disable: true
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
environment:
GIT_PULL_SCRIPT:
from_secret: GIT_PULL
envs:
- GIT_PULL
command_timeout: 2m
script:
- echo ${GIT_PULL_SCRIPT}
- echo $GIT_PULL_SCRIPT
- echo "$GIT_PULL_SCRIPT"
- echo $GIT_PULL
- echo ${GIT_PULL}
- $GIT_PULL
# - cd /mnt/user/Docker/wiki && ./sthope/git_pull.sh