package/deploy: attempt to navigate travis-ci dot org
This commit is contained in:
parent
b91c65043d
commit
74c07a51e9
|
@ -10,6 +10,8 @@ before_install:
|
||||||
script:
|
script:
|
||||||
- make -j
|
- make -j
|
||||||
|
|
||||||
after_success:
|
deploy:
|
||||||
- test $TRAVIS_BRANCH = "master" &&
|
provider: script
|
||||||
make upload
|
script: deploy.bash
|
||||||
|
on:
|
||||||
|
branch: master
|
||||||
|
|
5
Makefile
5
Makefile
|
@ -49,8 +49,3 @@ package: all rss
|
||||||
cp *.png build/peps/
|
cp *.png build/peps/
|
||||||
cp *.rss build/peps/
|
cp *.rss build/peps/
|
||||||
tar -C build -czf build/peps.tar.gz peps
|
tar -C build -czf build/peps.tar.gz peps
|
||||||
|
|
||||||
upload: venv package
|
|
||||||
./venv/bin/python -m pip install awscli
|
|
||||||
./venv/bin/aws s3 cp --acl public-read build/peps.tar.gz s3://pythondotorg-assets-staging/peps.tar.gz
|
|
||||||
./venv/bin/aws s3 cp --acl public-read build/peps.tar.gz s3://pythondotorg-assets/peps.tar.gz
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
make package
|
||||||
|
pip install awscli
|
||||||
|
aws s3 cp --acl public-read build/peps.tar.gz s3://pythondotorg-assets-staging/peps.tar.gz
|
||||||
|
aws s3 cp --acl public-read build/peps.tar.gz s3://pythondotorg-assets/peps.tar.gz
|
Loading…
Reference in New Issue