Skip to content

Commit

Permalink
Publish MySQL operator documentation in Presslabs docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
AMecea committed Jan 29, 2019
1 parent d960717 commit ece385d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down

0 comments on commit ece385d

Please sign in to comment.