-
Notifications
You must be signed in to change notification settings - Fork 24
/
.travis.yml
34 lines (28 loc) · 2.67 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
language: ruby
rvm:
- 2.1
before_install:
- pip install --user awscli
- export PATH=$PATH:$HOME/.local/bin
script:
- bundle exec jekyll build
env:
global:
- secure: dFbFVzA4fbi5ZeUx2tkkhAsQN09s1mFF86YLeruzBQ7neyjCXbjqtmqaOt8XGFJMWGAtfA2sxlbihasWnKA+5tgVk5U6FzjW4b6pxD1LxtVqyk8OUC+9FXPon+LfLOh8Ywxd/gexGxMHRoTUDcHAUHRI/friYcdlkNm579CvMnSsLPqgHSWFmzKzokT2zSw00E3Z1pEL5mv90NwYGq9MXXLrkpxhPAdJFfwJ2bJ+efpr7mQqNKQzkGCY0C63JUTX2J0HXkR37IrvSDb4/tR9iUU4Z5u1ovCDUIp2LJhfVHHRpmW+HF2Ar6pBNqVWTi5LnvRVBSRT2XkHPcdn5B02d6F1zkqLQZdY401zJJwi4kqE3IJUhvMK98tZT1gIOUo5YX9LkrW58pjn0LSd1xwWPNCi2cZu/loVgAlRy8UatcGCgyvTzkQgc7fEkveJMRnhoiuTWSslOLrR4+hCYFf0fkWWWIunnqcLY3GIBiixde5hFnPtNynCbvYi1Gub5zS0bxcgnto1D/ud2GS1HApSEelWIvQeD+5exqXkdpk3AStK+57LWdt8Yr1fB3lAF9E/ZZYZytaM49uswzC8Q+fKfUxg6YolYIR646rkfmahMTF07X69Xv+j+oJx7WY1eGnyOMltgTlyTby4hwr4HpnjaW27xKIMTqKU+ZUMEub8jgA=
- secure: Hi7gIiPR42rl8bnbhFGKo1PWRZFwygdO0EyFXtxHypY9TNBSOY+YzzexyqEGOeYnJnq0/p3XEXDiFfsM6URm9qBKq8IoIZiG/fTQQIZaMeWvjcCjdh5MaPmo7zuI/gQ3kmWzxGPrREe9PPO8qvo5TZ0JGAkbdtXWO0k2e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jRg5zLmg3p4eW34hLUQRP2gjpIlEKi+oG+u7e3eWX1/rtySnRnTlU+1ZNxmH+vo/OInT/ulWytYa8ErruZ4NmR/rASOXyTNE9yFmOMyQe6DbzdmkrCYaHKFnhwfgyqajhXphs=
deploy:
provider: s3
access_key_id: $AWS_ACCESS_KEY
secret_access_key: $AWS_SECRET_KEY
bucket: website-learn-scrapinghub-com
skip_cleanup: true
local_dir: _site
acl: public_read
on:
branch: master
after_deploy:
- aws configure set aws_access_key_id $AWS_ACCESS_KEY
- aws configure set aws_secret_access_key $AWS_SECRET_KEY
- aws configure set preview.cloudfront true
- aws cloudfront create-invalidation --distribution-id $DISTID --paths '/*'