As many would use ember-cli-deploy, VERSION.txt should go in separate step, e.g.
// ./config/deploy.js
let ENV = {
pipeline: {
alias: {
s3: { as: ['s3-version', 's3'] },
},
's3-version': {
bucket: '***',
region: '**',
filePattern: 'VERSION.txt',
cacheControl: 'max-age=0, no-cache',
expires: 1525781737
},
...
},
It is good idea to have the same bucket as index file.
As many would use
ember-cli-deploy, VERSION.txt should go in separate step, e.g.It is good idea to have the same bucket as
indexfile.