mirror of
https://github.com/PDP-10/its.git
synced 2026-04-24 19:40:28 +00:00
Deploy build image files to AWS/S3.
This commit is contained in:
12
.travis.yml
12
.travis.yml
@@ -7,5 +7,17 @@ env:
|
|||||||
- EMULATOR=sims BASICS=yes
|
- EMULATOR=sims BASICS=yes
|
||||||
install: sh -ex build/dependencies.sh install_${TRAVIS_OS_NAME:-linux}
|
install: sh -ex build/dependencies.sh install_${TRAVIS_OS_NAME:-linux}
|
||||||
script: make
|
script: make
|
||||||
|
deploy:
|
||||||
|
provider: s3
|
||||||
|
access_key_id: "$AWS_ID"
|
||||||
|
secret_access_key: "$AWS_SECRET"
|
||||||
|
bucket: "$S3_BUCKET"
|
||||||
|
skip_cleanup: true
|
||||||
|
local_dir: out
|
||||||
|
acl: public_read
|
||||||
|
on:
|
||||||
|
branch: master
|
||||||
|
after_deploy:
|
||||||
|
- build/deploy.sh
|
||||||
notifications:
|
notifications:
|
||||||
email: lars@nocrew.org
|
email: lars@nocrew.org
|
||||||
|
|||||||
5
build/deploy.sh
Executable file
5
build/deploy.sh
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
echo "Here we can do anything when deployment has finished."
|
||||||
|
echo "Such as kicking off a second build stage."
|
||||||
|
exit 0
|
||||||
Reference in New Issue
Block a user