mirror of
https://github.com/znc/znc.git
synced 2026-08-07 17:33:34 +02:00
Travis: push docs to github.com/znc/docs
This commit is contained in:
@@ -4,10 +4,18 @@ echo "Generating docs with doxygen..."
|
||||
|
||||
doxygen
|
||||
|
||||
mkdir -p ~/.ssh
|
||||
cat <<EOF >> ~/.ssh/config
|
||||
Host znc-docs
|
||||
HostName github.com
|
||||
User git
|
||||
IdentityFile ~/znc-docs-key
|
||||
EOF
|
||||
|
||||
cd "$HOME"
|
||||
git config --global user.email "travis@travis-ci.org"
|
||||
git config --global user.name "travis-ci"
|
||||
git clone --branch=gh-pages https://${GH_TOKEN}@github.com/znc/znc gh-pages || exit 1
|
||||
git clone --branch=gh-pages znc-docs:znc/docs.git gh-pages || exit 1
|
||||
|
||||
cd gh-pages
|
||||
git rm -rf *
|
||||
|
||||
Binary file not shown.
+2
-1
@@ -6,7 +6,7 @@ env:
|
||||
matrix:
|
||||
- CFGFLAGS= MYCXXFLAGS= MYLDFLAGS=
|
||||
global:
|
||||
secure: <<TOKEN>>
|
||||
- secure: "Rfoqtksz9rPuC2MszbwYRFarHGQuD2rrRV+cxNLwU9fBaWRfdhoJZKt+LqIUv/w84/Oz24gp1ulfW4jSwrfIjfG1ER/glkV5TcQOKjlhRVwjSFW8/9lZiZgqHVX5QiEqdrIeVOBLGQucQWcUb/vxxEZua4qIAiescBCi9s7AfkA="
|
||||
matrix:
|
||||
include:
|
||||
- compiler: clang
|
||||
@@ -37,6 +37,7 @@ after_success:
|
||||
- |
|
||||
if [ "$BUILD_LEADER" == "YES" ] && [ "$BUILD_AGGREGATE_STATUS" == "others_succeeded" ] && [ "$TRAVIS_REPO_SLUG" == "znc/znc" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
|
||||
echo "All builds passed!"
|
||||
openssl aes-256-cbc -d -in .travis-github.enc -out ~/znc-docs-key -k ${SECRET_KEY}
|
||||
./.travis-generate-docs.sh
|
||||
fi
|
||||
notifications:
|
||||
|
||||
Reference in New Issue
Block a user