Skip to content

Commit

Permalink
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -34,3 +34,14 @@ notifications:
- "%{repository_slug}#%{commit} (%{branch} - %{commit_subject}): %{message} %{build_url}"
slack:
secure: Ng3nTqGWY+9p1pS6yjGqDhmRvdgbIZgTNpMWbO/ngwpCyicmD3jafZkShqqXbULZTJJr3OxIGzi6GHGusT0Ic/Pi9JCM3X3v/xuBruKIR+EnNyPo7IL4ZYAlwnXyJHlCHHDBq0gSHGvGJwsXn6IgZBPRfeIq+CCyQHVPyvc9EHE=
deploy:
provider: s3
access_key_id: AKIAIRL4BWFPN7P54TBQ
secret_access_key:
secure: XbirZ4olRckszhip5ljHl556WcgohwrTdI3e2uproJBUYLU/kLwvusATL38TAWeMNPaIzZMHHp+Q5EPDfsiCuXuLHlhAoVVSM3K2UGJ43H5iN2srSf15dCsVgeJmffwW1Pceew/y4wFbp6INc1XfwKuE8+aXIyH7WTfKrqQv/w8=
bucket: crystal-api
local_dir: doc
upload-dir: api/master
on:
branch: master
skip_cleanup: true

2 comments on commit f4bf0d8

@jhass
Copy link
Member

@jhass jhass commented on f4bf0d8 Jun 28, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this add

  on:
    branch: master
    condition: $ARCH = x86_64

So it happens only for one job and doesn't consume time and resources doing it four times per build? Or perhaps even do it in a distinct job that can bail early for PRs?

@bcardiff
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes ⚡ . I was up to add a DOC_DEPLOY variable, but ARCH works.
Also I am to commit a version that runs this on tags.

Please sign in to comment.