-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (28 loc) · 3.46 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
language: minimal
python:
- '3.8'
sudo: false
script:
- curl -LO https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz
- gunzip binary-for-linux-64-bit.gz -c > elm && chmod +x elm
- "./elm make src/Main.elm --output public/index.html"
deploy:
provider: s3
access_key_id: "$AWS_ACCESS_KEY_ID"
secret_access_key: "$AWS_SECRET_ACCESS_KEY"
bucket: "$DEPLOY_S3_BUCKET"
region: eu-west-1
skip_cleanup: true
local_dir: public
upload-dir: blender
acl: public_read
after_deploy:
- pip install --user awscli
- export PATH="${PATH}:$(python3 -c 'import site; print(site.USER_BASE)')/bin"
- aws cloudfront create-invalidation --distribution-id ${CLOUDFRONT_DISTRIBUTION_ID} --paths "/*" > /dev/null
env:
global:
- secure: F6spEXYKjxuMftQxlD6PpADEGszghve9tXEkrrybXK5Zw3kK8xtWfhAXjxsWWnO8Q/E1f7Js+8xqzUccT3ueHUGc5qegAWxdrATEA28SfjpfWCaMfXn4Jjf3+Gkejo6agdm65bDTq2R1BdW3qHO6Uy6luQCREsMsjA5l/ZvepDiCzoYREh68SajGSPpSu+bPu3vhHwwIXD0Hv2Mp4GhfXzTXajKMBzMitFAWpVRryAzQTaeRoTCFxEfww28cuGGXBtVJXZe2RFwP70pLQB8vn1o+vMRM/Qi0qqP3OJ9k2RmUAwXiKdVcQ4nVbkdTvR22XTuOCpiUKIqElk90kOMZJt1qsuznv2GBapnJlYPlnBMC/kP2vSGOlcOlMp+2+e1Z76+jh1gsoFIqZI+rKAqeThJZRXUZ2hTxL/X/Py+TXqAgSOkRqtURVH1Pw+zhmqGN6k6SsY/nXHWC9WducGqC980hf+lDPO85sy5nTbHGKGiugcDvmbtyDC7A01U3kIX0VWaaSwK9mTDijl7Ej+BdixTa9pBa40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