forked from cakephp/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove authorization docs job from this code.
It doesn't really make that much sense here.
- Loading branch information
Showing
1 changed file
with
0 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
def final REPO_NAME = 'cakephp/docs' | ||
def final AUTHORIZATION_REPO_NAME = 'cakephp/authorization' | ||
|
||
// Each version of the book has basically the same | ||
// job definition use a string 'template' to save duplication | ||
|
@@ -23,39 +22,6 @@ git push -fv dokku master | |
rm -rf /tmp/book-VERSION-$GIT_COMMIT | ||
''' | ||
|
||
job('Book - Deploy Authorization docs') { | ||
description('Deploy the authorization docs when changes are pushed.') | ||
scm { | ||
github(AUTHORIZATION_REPO_NAME, 'master') | ||
} | ||
triggers { | ||
scm('H/5 * * * *') | ||
} | ||
logRotator { | ||
daysToKeep(30) | ||
} | ||
steps { | ||
shell('''\ | ||
# Get docs-builder to populate index | ||
git clone https://github.com/cakephp/docs-builder | ||
pushd docs-builder | ||
make populate-index SOURCE="$WORKSPACE" ES_HOST="$ELASTICSEARCH_URL" INDEX_PREFIX="authorization-11" | ||
popd | ||
# Push to dokku | ||
git remote | grep dokku || git remote add dokku [email protected]:authorization-docs | ||
git push -fv dokku master | ||
''') | ||
} | ||
publishers { | ||
slackNotifications { | ||
projectChannel('#dev') | ||
notifyFailure() | ||
notifyRepeatedFailure() | ||
} | ||
} | ||
} | ||
|
||
job('Book - Deploy 3.x') { | ||
description('Deploy the 3.x book when changes are pushed.') | ||
scm { | ||
|