5 ms·
How does this work with assets that need to be served externally, e.g. uploaded to S3?
by crymer11 13y ago
How does this work with assets that need to be served externally, e.g. uploaded to S3?
- crohr 13y agoYou have the possibility to add custom before/after hooks, and thus upload freshly precompiled assets from them, however there is currently no secure way to encrypt secrets (in your case, S3 credentials). This may come later on (a la Travis-CI, http://docs.travis-ci.com/user/encryption-keys/ http://docs.travis-ci.com/user/encryption-keys/), but is not a priority right now.
- crymer11 13y agoAre the hooks not run on each instance the package is being deployed to?
- crohr 13y agoNo, the hooks currently supported are scripts that are run before and after the slug compilation phase. I don't think you would want to make your package installation dependent on pre/post install scripts that access the network.