Changed Pipeline to Docker + FTP
continuous-integration/drone/push Build is passing Details

This commit is contained in:
bmen 2020-10-10 01:49:02 +02:00
parent f3a931a0bd
commit 9beefcd0d5
1 changed files with 13 additions and 13 deletions

View File

@ -1,13 +1,13 @@
kind: pipeline
type: exec
name: default
platform:
os: linux
arch: amd64
steps:
- name: deploy
commands:
- docker-compose -f docker-compose-prod.yml down
- docker-compose -f docker-compose-prod.yml up -d
pipeline:
build:
image: jekyll/builder
commands:
- chown -R jekyll /drone/src
- jekyll build
deploy:
image: cschlosser/drone-ftps
hostname: www71.your-server.de
secrets: [ftp_username, ftp_password]
dest_dir: /public_html/bmen-jekyll
src_dir: /_site
clean_dir: true