Skip to content

Commit 84734a8

Browse files
committed
i12e (CI): build API docs on release tags only
1 parent 361c623 commit 84734a8

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
keep_history: true
3434
github_token: $GITHUB_TOKEN
3535
on:
36-
branch: stable
36+
tags: true
37+
condition: $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+$
3738
local_dir: docs
3839
addons:
3940
postgresql: "9.5"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Onyx::SQL
44

55
[![Built with Crystal](https://img.shields.io/badge/built%20with-crystal-000000.svg?style=flat-square)](https://crystal-lang.org/)
6-
[![Travis CI build](https://img.shields.io/travis/onyxframework/sql/stable.svg?style=flat-square)](https://travis-ci.org/onyxframework/sql)
6+
[![Travis CI build](https://img.shields.io/travis/onyxframework/sql/master.svg?style=flat-square)](https://travis-ci.org/onyxframework/sql)
77
[![Docs](https://img.shields.io/badge/docs-online-brightgreen.svg?style=flat-square)](https://docs.onyxframework.org/sql)
88
[![API docs](https://img.shields.io/badge/api_docs-online-brightgreen.svg?style=flat-square)](https://api.onyxframework.org/sql)
99
[![Latest release](https://img.shields.io/github/release/onyxframework/sql.svg?style=flat-square)](https://github.com/onyxframework/sql/releases)

0 commit comments

Comments
 (0)