blog/.drone.yml

23 lines
440 B
YAML

kind: pipeline
name: default
steps:
- name: submodules
image: docker:git
commands:
- git submodule init
- git submodule update --recursive --remote
- name: build and upload
image: xsteadfastx/blog
pull: always
environment:
FTP_PASS:
from_secret: ftp_pass
commands:
- sudo cp -a /drone/src/. /blog/
- sudo chown -R blog:blog /blog
- cd /blog
- make ftp_upload