File tree 1 file changed +7
-15
lines changed
1 file changed +7
-15
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,11 @@ after_script:
13
13
- echo "Rendered notebook http://nbviewer.jupyter.org/urls/s3.amazonaws.com/pythonplotbuilds/tdhopper/pythonplot.com/$TRAVIS_BUILD_NUMBER/$TRAVIS_JOB_NUMBER/Examples.$(git log -1 --pretty=format:'%h').ipynb"
14
14
addons :
15
15
artifacts : true
16
+ before_deploy :
17
+ - npm install netlify-cli -g
16
18
deploy :
17
- - provider : s3
18
- access_key_id : $AWS_ACCESS_KEY # declared in Travis repo settings
19
- secret_access_key : $AWS_SECRET_KEY
20
- bucket : pythonplot.com
21
- endpoint : pythonplot.com.s3-website-us-east-1.amazonaws.com
22
- region : us-east-1
23
- skip_cleanup : true
24
- local-dir : web
25
- acl : public_read
26
- default_text_charset : ' utf-8'
27
- detect_encoding : true
28
- on :
29
- branch : master
30
- after_deploy :
31
- - AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY AWS_SECRET_ACCESS_KEY=$AWS_SECRET_KEY python .travis/invalidate_cloudfront.py
19
+ provider : script
20
+ script : netlify deploy -s $NETLIFY_SITE_ID -t $NETLIFY_ACCESS_TOKEN -p ./web
21
+ skip_cleanup : true
22
+ on :
23
+ branch : netlify
You can’t perform that action at this time.
0 commit comments