1
0
mirror of https://github.com/PDP-10/its.git synced 2026-02-26 17:03:20 +00:00

Deploy build image files to AWS/S3.

This commit is contained in:
Lars Brinkhoff
2018-04-26 07:23:41 +02:00
parent fa46ff4e4c
commit 837cb6343d
2 changed files with 17 additions and 0 deletions

View File

@@ -7,5 +7,17 @@ env:
- EMULATOR=sims BASICS=yes
install: sh -ex build/dependencies.sh install_${TRAVIS_OS_NAME:-linux}
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:
email: lars@nocrew.org

5
build/deploy.sh Executable file
View 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