Changed Pipeline to Docker + FTP
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
f3a931a0bd
commit
9beefcd0d5
24
.drone.yml
24
.drone.yml
|
@ -1,13 +1,13 @@
|
||||||
kind: pipeline
|
pipeline:
|
||||||
type: exec
|
build:
|
||||||
name: default
|
image: jekyll/builder
|
||||||
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: amd64
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: deploy
|
|
||||||
commands:
|
commands:
|
||||||
- docker-compose -f docker-compose-prod.yml down
|
- chown -R jekyll /drone/src
|
||||||
- docker-compose -f docker-compose-prod.yml up -d
|
- 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
|
Loading…
Reference in New Issue