From ece385d7dfc69a369630b50ccea82776b308b68d Mon Sep 17 00:00:00 2001 From: amecea Date: Mon, 28 Jan 2019 15:39:36 +0200 Subject: [PATCH] Publish MySQL operator documentation in Presslabs docs. --- .drone.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.drone.yml b/.drone.yml index 59c79f693..09e967ef3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -110,6 +110,27 @@ pipeline: when: event: tag + + publish-documentation: + image: quay.io/presslabs/kluster-toolbox + pull: true + environment: + - GH_USER=presslabs-bot + - GH_EMAIL=ping@presslabs.com + - CODE_DIR=/code + commands: + - setup-github-credentials.sh + - git clone https://github.com/presslabs/code.git $CODE_DIR + - rm -rf $CODE_DIR/content/mysqloperator/* + - cp docs/* $CODE_DIR/content/mysqloperator/ + - cd $CODE_DIR + - git add -A; git commit -m "Update MySQL Operator documentation"; git push origin master + secrets: + - GH_PASSWORD + when: + event: push + branch: master + # # end to end testing #