Skip to content

Commit

Permalink
Fix documentation publishing.
Browse files Browse the repository at this point in the history
  • Loading branch information
AMecea committed Feb 1, 2019
1 parent e667a97 commit 99618ea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,11 @@ pipeline:
# remove README.md because hugo does not ignore it and fails. This files contains github
# links.
- rm $CODE_DIR/content/mysqloperator/README.md
# commit changes
# commit changes if something to commit
- cd $CODE_DIR
- git add -A; git commit -m "Update MySQL Operator documentation"; git push origin master
- git add -A
- git diff-index --quiet HEAD || git commit -m "Update MySQL Operator documentation"
- git push origin master
secrets:
- GH_PASSWORD
when:
Expand Down

0 comments on commit 99618ea

Please sign in to comment.