Skip to content

Commit

Permalink
fix (Infrastructure): move deploy to separate build stage
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfaust committed Feb 17, 2019
1 parent 9427f16 commit 0b5b0ca
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ jobs:
- sqlite3 ./test.sqlite3 < db_spec/sqlite3/migration.sql
script:
- env SQLITE3_URL=$SQLITE3_URL crystal spec db_spec/sqlite3
- name: Generate docs
- stage: Deploy
script:
- crystal docs
deploy:
provider: pages
skip_cleanup: true
keep_history: true
github_token: $GITHUB_TOKEN
on:
branch: master
local_dir: docs
deploy:
provider: pages
skip_cleanup: true
keep_history: true
github_token: $GITHUB_TOKEN
on:
branch: master
local_dir: docs
addons:
postgresql: "9.5"

0 comments on commit 0b5b0ca

Please sign in to comment.