Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (27 sloc) 1.92 KB
language: ruby
sudo: false
rvm:
- 2.5.0
script:
- bundle exec middleman build
env:
global:
- PATH=$PATH:$HOME/.local/bin
- AWS_REGION=ap-northeast-1
- AWS_DEFAULT_REGION=ap-northeast-1
- secure: "XGQ0s6x3qNEVKCW5IiLdmC6JWBydFepT75ejFJCfmarCQwgKamyeeII+ZBx5TtJ5QByeQGemy7SXygVSTpaksRgBXkiEhxpP106nrlcxcPH6VldXN+Jt0MhaAO43Jf7a329/rq9LQt7juOAUBLTpVXXqyI2kZGWD638S9yL+NdNtNCB4BofREZcYlTbXK7bFVpC803his5BWXNCEGrnEW4OLxWzMRpYkO7FASQwwbwYcBY3yvimhYCK42rGN3sbeS1QG9HFxCzT2lmbegA0O7WnU7BOa3gDaNeRM1sQsfBUcREf+rCvySXsZvVzF/GN9e3WycDoKtLVACQk6FGOIepHZDvxcKM75iG8G7sJMQlHs0uVNOSmQvoEhVQWHL9nL9EGeTvVqsyod1X1eMCSFcd6iW2Zo2cd/Y31EvcvR/yLmJiveqHHMs09kCjLCjnQcGef52CjJW8jVYgIF05Wm2NqgPobM1ammP8gImLKdHNNV/Lq4zxch5VeJxn5A9xlEYw4ShBJJX+7OdLqLZ3fCIkOXr6uLxL/nQIm2bzNXG+u/lztJRUF7vBaLk9bq20q66F2/9HQcDeznsGlSRuQxqR8foAp9w369xcudw2jiw42xVrWiAvMPZuTFhfMRoedXFKkKSQOMHTT7Tg4ncpxcm7yRhQgCSW8InPB/cM9fh/0="
- secure: "dbNq94Bd6Wv03EDlY5nVmQTE5MtYF8aO+b78VXnvRxEFhzRIDZtxqJidP7dYUTnc1ZzQFdsOC3E1O5kN3h1TcP7VgsRrcRbkf0SIhP350GBGdpqxLHOUohdvyIO7QPo0wynvHCBZnZkYGjA7Nrs7l5kWtkGA4cXXK+wwusKGGsrPXth5/YhRVjrFaYCFSTCNP1/hDmg8ORuF5yecMLMuqb66QuTW5k9QJUpdeGgbZiMWQvyIgw3oUB/LtOyb2Yjzw54BK89ZWASuGyDDkbrf51uPE+4MyxMncZ9yXCE7imkJ0wTyE5IlMwEU5Jj9IAmCDpGKcDT4+Qh3yfOzpe5FzjI/b9Mm0pjKp4UOkaidaZ39a8rW9pOZP4kM9hN/zHh8w5A4kYzkGw4UZNNxQCW3FWV1YeZzrwMa8pBx/cU75DaiIoFrJwRUMNbdU5QxwFA6EIDHSMm9ZiyUJWBkginufd+G40mlpIKM4nvYQx3Be59aY1yU4SAf9QXBBa1hS7JtRtP8iLoa3M0zowZORT70tIkYpSSttq8uXn6XAMTGaLwfouL7YSkoimE99PuQpXoqSBCfP9XBYaer06X1Ca37pUiThio3JzFR3h0N6pNFIzAQUm98nKrIw1VMSZMPwMZi7J97jCs8u4Pah7IDuz/3mot++ts7hQMvTFW8TnufFAQ="
before_install:
- gem update --system # For solving this problem: https://github.com/travis-ci/travis-ci/issues/8978
- pip install --user awscli
deploy:
provider: script
skip_cleanup: true
script:
- "aws s3 sync build s3://mozami.me/ --delete"
on:
branch: master
notifications:
on_success: always
on_failure: always
on_start: false