mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(dgeni): TS 1.8 dgeni tweak and CI perf improvements
This commit is contained in:
@ -39,11 +39,11 @@ function run {
|
|||||||
|
|
||||||
# if no changes, don't commit
|
# if no changes, don't commit
|
||||||
if [[ "$CHANGES" == "" ]]; then
|
if [[ "$CHANGES" == "" ]]; then
|
||||||
ls
|
echo "-- No changes detected for the following commit, docs not updated."
|
||||||
echo "-- No changes detected in docs for $VERSION_NAME; docs not updated."
|
echo "https://github.com/driftyco/$CIRCLE_PROJECT_REPONAME/commit/$CIRCLE_SHA1"
|
||||||
else
|
else
|
||||||
git add -A
|
git add -A
|
||||||
git commit -am "docs: update for $VERSION"
|
git commit -am "Automated build of ionic v$VERSION driftyco/$CIRCLE_PROJECT_REPONAME@$CIRCLE_SHA1"
|
||||||
git push origin master
|
git push origin master
|
||||||
|
|
||||||
echo "-- Updated docs for $VERSION_NAME succesfully!"
|
echo "-- Updated docs for $VERSION_NAME succesfully!"
|
||||||
|
2
scripts/docs/templates/common.template.html
vendored
2
scripts/docs/templates/common.template.html
vendored
@ -147,7 +147,7 @@ Delegate: <$ doc.delegate $>
|
|||||||
|
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<a class="improve-v2-docs" href="http://github.com/driftyco/ionic/edit/2.0/<$ doc.fileInfo.relativePath|replace('//','/') $>#L<$ doc.location.start.line $>">
|
<a class="improve-v2-docs" href="http://github.com/driftyco/ionic/edit/2.0/<$ doc.fileInfo.relativePath|replace('//home/ubuntu/ionic', '')|replace('//','/') $>#L<$ doc.location.start.line $>">
|
||||||
Improve this doc
|
Improve this doc
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
@ -16,6 +16,8 @@ function run {
|
|||||||
ARGS="--branch=${BRANCH:-master}"
|
ARGS="--branch=${BRANCH:-master}"
|
||||||
if [[ "$DEPTH" != "" ]]; then
|
if [[ "$DEPTH" != "" ]]; then
|
||||||
ARGS="$ARGS --depth=$DEPTH"
|
ARGS="$ARGS --depth=$DEPTH"
|
||||||
|
else
|
||||||
|
ARGS="$ARGS --depth=2"
|
||||||
fi
|
fi
|
||||||
git clone https://driftyco:$GH_TOKEN@github.com/$REPOSITORY $DIRECTORY $ARGS
|
git clone https://driftyco:$GH_TOKEN@github.com/$REPOSITORY $DIRECTORY $ARGS
|
||||||
cd $DIRECTORY
|
cd $DIRECTORY
|
||||||
|
Reference in New Issue
Block a user