Skip to content

Commit ece385d

Browse files
committed
Publish MySQL operator documentation in Presslabs docs.
1 parent d960717 commit ece385d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.drone.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,27 @@ pipeline:
110110
when:
111111
event: tag
112112

113+
114+
publish-documentation:
115+
image: quay.io/presslabs/kluster-toolbox
116+
pull: true
117+
environment:
118+
- GH_USER=presslabs-bot
119+
120+
- CODE_DIR=/code
121+
commands:
122+
- setup-github-credentials.sh
123+
- git clone https://github.com/presslabs/code.git $CODE_DIR
124+
- rm -rf $CODE_DIR/content/mysqloperator/*
125+
- cp docs/* $CODE_DIR/content/mysqloperator/
126+
- cd $CODE_DIR
127+
- git add -A; git commit -m "Update MySQL Operator documentation"; git push origin master
128+
secrets:
129+
- GH_PASSWORD
130+
when:
131+
event: push
132+
branch: master
133+
113134
#
114135
# end to end testing
115136
#

0 commit comments

Comments
 (0)