1
Question:
I would like to know how to configure the Travis CI
to automatically deploy a public project from GitHub
after running the build and all tests pass.
I noticed this file configuration .travis.yml
, but the doubt that remains, inform the attributes access_key_id
and the secret_access_key
is really safe, as could be done to set up automatic deploy of Github public projects?
/#http://docs.travis-ci.com/user/deployment/s3/
deploy:
provider: s3
access_key_id: "" #YOUR ENCRYPTED AWS ACCESS KEY
secret_access_key: "" #YOUR ENCRYPTED AWS SECRET KEY
bucket: "make.stanleygeorge.com"
skip_cleanup: true
local-dir: out
on:
tags: true
References:
You can’t put this project in bitbucket and make it private?
– user3603
I can, but the idea was that it was open source
– Giancarlo Abel Giulian
Then use environment variables, so each one is responsible for their own
access_key_id
andsecrect_access_key
– user3603
I don’t have access to Travisci’s machine, or I do?
– Giancarlo Abel Giulian