Skip to content

Commit 0b5b0ca

Browse files
committed
fix (Infrastructure): move deploy to separate build stage
1 parent 9427f16 commit 0b5b0ca

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.travis.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ jobs:
2727
- sqlite3 ./test.sqlite3 < db_spec/sqlite3/migration.sql
2828
script:
2929
- env SQLITE3_URL=$SQLITE3_URL crystal spec db_spec/sqlite3
30-
- name: Generate docs
30+
- stage: Deploy
3131
script:
3232
- crystal docs
33-
deploy:
34-
provider: pages
35-
skip_cleanup: true
36-
keep_history: true
37-
github_token: $GITHUB_TOKEN
38-
on:
39-
branch: master
40-
local_dir: docs
33+
deploy:
34+
provider: pages
35+
skip_cleanup: true
36+
keep_history: true
37+
github_token: $GITHUB_TOKEN
38+
on:
39+
branch: master
40+
local_dir: docs
4141
addons:
4242
postgresql: "9.5"

0 commit comments

Comments
 (0)